Fix: always include repository prefix in sandboxed compiles image name

This commit is contained in:
yu-i-i
2026-01-29 15:54:50 +01:00
parent 984a641a93
commit b1609835a4
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, compiler: request.compiler,
draft: request.draft, draft: request.draft,
imageName: request.imageName imageName: request.imageName
? Path.basename(request.imageName) ? request.imageName
: undefined, : undefined,
rootResourcePath: request.rootResourcePath, rootResourcePath: request.rootResourcePath,
stopOnFirstError: request.stopOnFirstError, stopOnFirstError: request.stopOnFirstError,
@@ -26,7 +26,7 @@ export default ProjectEditorHandler = {
deletedByExternalDataSource: project.deletedByExternalDataSource || false, deletedByExternalDataSource: project.deletedByExternalDataSource || false,
imageName: imageName:
project.imageName != null project.imageName != null
? Path.basename(project.imageName) ? project.imageName
: undefined, : undefined,
} }