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 1a95222045
commit 579355fb77
2 changed files with 2 additions and 2 deletions

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,

View File

@@ -26,7 +26,7 @@ module.exports = ProjectEditorHandler = {
deletedByExternalDataSource: project.deletedByExternalDataSource || false,
imageName:
project.imageName != null
? Path.basename(project.imageName)
? project.imageName
: undefined,
}