Fix: always include repository prefix in sandboxed compiles image name

This commit is contained in:
yu-i-i
2025-07-22 18:49:00 +02:00
parent 2be928d820
commit b7c97898e4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ function compile(req, res, next) {
compiler: request.compiler,
draft: request.draft,
imageName: request.imageName
? Path.basename(request.imageName)
? request.imageName
: undefined,
rootResourcePath: request.rootResourcePath,
stopOnFirstError: request.stopOnFirstError,
@@ -26,7 +26,7 @@ module.exports = ProjectEditorHandler = {
deletedByExternalDataSource: project.deletedByExternalDataSource || false,
imageName:
project.imageName != null
? Path.basename(project.imageName)
? project.imageName
: undefined,
}