mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Merge pull request #17874 from overleaf/jpa-ol-project-id-in-env
[clsi] expose Overleaf project id to LaTeX compilation via env var GitOrigin-RevId: cf8be6f8d83351a587d9ac7940f61a046a14035e
This commit is contained in:
@@ -107,7 +107,9 @@ async function doCompile(request) {
|
||||
timings.sync = writeToDiskTimer.done()
|
||||
|
||||
// set up environment variables for chktex
|
||||
const env = {}
|
||||
const env = {
|
||||
OVERLEAF_PROJECT_ID: request.project_id,
|
||||
}
|
||||
if (Settings.texliveOpenoutAny && Settings.texliveOpenoutAny !== '') {
|
||||
// override default texlive openout_any environment variable
|
||||
env.openout_any = Settings.texliveOpenoutAny
|
||||
|
||||
Reference in New Issue
Block a user