Fix: always include repository prefix in sandboxed compiles image name

This commit is contained in:
yu-i-i
2026-09-22 02:41:35 +02:00
parent 361b03b44b
commit c83f53d0b6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ function compile(req, res, next) {
draft: request.draft,
png2pdf: request.png2pdf,
imageName: request.imageName
? Path.basename(request.imageName)
? request.imageName
: undefined,
rootResourcePath: request.rootResourcePath,
stopOnFirstError: request.stopOnFirstError,
@@ -29,7 +29,7 @@ export default ProjectEditorHandler = {
deletedByExternalDataSource: project.deletedByExternalDataSource || false,
imageName:
project.imageName != null
? Path.basename(project.imageName)
? project.imageName
: undefined,
}