mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Fix: always include repository prefix in sandboxed compiles image name
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user