mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 08:41:01 +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',
|
catchErrors: process.env.CATCH_ERRORS === 'true',
|
||||||
|
|
||||||
path: {
|
path: {
|
||||||
compilesDir: Path.resolve(__dirname, '../compiles'),
|
compilesDir:
|
||||||
outputDir: Path.resolve(__dirname, '../output'),
|
process.env.CLSI_COMPILES_PATH || Path.resolve(__dirname, '../compiles'),
|
||||||
clsiCacheDir: Path.resolve(__dirname, '../cache'),
|
outputDir:
|
||||||
|
process.env.CLSI_OUTPUT_PATH || Path.resolve(__dirname, '../output'),
|
||||||
|
clsiCacheDir:
|
||||||
|
process.env.CLSI_CACHE_PATH || Path.resolve(__dirname, '../cache'),
|
||||||
synctexBaseDir(projectId) {
|
synctexBaseDir(projectId) {
|
||||||
return Path.join(this.compilesDir, projectId)
|
return Path.join(this.compilesDir, projectId)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue