mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02: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,
|
||||
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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user