mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 20:11:09 +00:00
Merge pull request #5718 from overleaf/spd-built-images
Support prebuilt images and add overrides for using mapped folders GitOrigin-RevId: b1a1f7fe61ead1c08f3b8eef35ef90926ca42f36
This commit is contained in:
parent
ae0c347f27
commit
fe1cb010b4
1 changed files with 6 additions and 3 deletions
|
@ -9,9 +9,12 @@ module.exports = {
|
|||
catchErrors: process.env.CATCH_ERRORS === 'true',
|
||||
|
||||
path: {
|
||||
compilesDir: Path.resolve(__dirname, '../compiles'),
|
||||
outputDir: Path.resolve(__dirname, '../output'),
|
||||
clsiCacheDir: Path.resolve(__dirname, '../cache'),
|
||||
compilesDir:
|
||||
process.env.CLSI_COMPILES_PATH || Path.resolve(__dirname, '../compiles'),
|
||||
outputDir:
|
||||
process.env.CLSI_OUTPUT_PATH || Path.resolve(__dirname, '../output'),
|
||||
clsiCacheDir:
|
||||
process.env.CLSI_CACHE_PATH || Path.resolve(__dirname, '../cache'),
|
||||
synctexBaseDir(projectId) {
|
||||
return Path.join(this.compilesDir, projectId)
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue