mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Updated settings with several fixes (#111)
This commit is contained in:
parent
a818b1d427
commit
d126eb7112
1 changed files with 10 additions and 4 deletions
|
@ -168,8 +168,7 @@ settings =
|
||||||
# between services that may need to go over public channels
|
# between services that may need to go over public channels
|
||||||
httpAuthUsers: httpAuthUsers
|
httpAuthUsers: httpAuthUsers
|
||||||
|
|
||||||
# Should javascript assets be served minified or not. Note that you will
|
# Should javascript assets be served minified or not.
|
||||||
# need to run `make minify` within the web directory to generate these.
|
|
||||||
useMinifiedJs: true
|
useMinifiedJs: true
|
||||||
|
|
||||||
# Should static assets be sent with a header to tell the browser to cache
|
# Should static assets be sent with a header to tell the browser to cache
|
||||||
|
@ -197,6 +196,10 @@ settings =
|
||||||
url: "http://localhost:3000"
|
url: "http://localhost:3000"
|
||||||
user: httpAuthUser
|
user: httpAuthUser
|
||||||
pass: httpAuthPass
|
pass: httpAuthPass
|
||||||
|
# overrides v1.url to indicate via Feature Flags that Overleaf V1
|
||||||
|
# is not available
|
||||||
|
v1:
|
||||||
|
url: null
|
||||||
references:{}
|
references:{}
|
||||||
notifications:undefined
|
notifications:undefined
|
||||||
|
|
||||||
|
@ -421,8 +424,6 @@ if process.env["SHARELATEX_SAML_ENTRYPOINT"]
|
||||||
entryPoint: process.env["SHARELATEX_SAML_ENTRYPOINT"]
|
entryPoint: process.env["SHARELATEX_SAML_ENTRYPOINT"]
|
||||||
callbackUrl: process.env["SHARELATEX_SAML_CALLBACK_URL"]
|
callbackUrl: process.env["SHARELATEX_SAML_CALLBACK_URL"]
|
||||||
issuer: process.env["SHARELATEX_SAML_ISSUER"]
|
issuer: process.env["SHARELATEX_SAML_ISSUER"]
|
||||||
cert: process.env["SHARELATEX_SAML_CERT"]
|
|
||||||
privateCert: process.env["SHARELATEX_SAML_PRIVATE_CERT"]
|
|
||||||
decryptionPvk: process.env["SHARELATEX_SAML_DECRYPTION_PVK"]
|
decryptionPvk: process.env["SHARELATEX_SAML_DECRYPTION_PVK"]
|
||||||
signatureAlgorithm: process.env["SHARELATEX_SAML_SIGNATURE_ALGORITHM"]
|
signatureAlgorithm: process.env["SHARELATEX_SAML_SIGNATURE_ALGORITHM"]
|
||||||
identifierFormat: process.env["SHARELATEX_SAML_IDENTIFIER_FORMAT"]
|
identifierFormat: process.env["SHARELATEX_SAML_IDENTIFIER_FORMAT"]
|
||||||
|
@ -482,6 +483,11 @@ if process.env["SHARELATEX_SAML_ENTRYPOINT"]
|
||||||
undefined
|
undefined
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# SHARELATEX_SAML_CERT cannot be empty
|
||||||
|
# https://github.com/bergie/passport-saml/commit/f6b1c885c0717f1083c664345556b535f217c102
|
||||||
|
if process.env["SHARELATEX_SAML_CERT"]
|
||||||
|
settings.saml.server.cert = process.env["SHARELATEX_SAML_CERT"]
|
||||||
|
settings.saml.server.privateCert = process.env["SHARELATEX_SAML_PRIVATE_CERT"]
|
||||||
|
|
||||||
# Compiler
|
# Compiler
|
||||||
# --------
|
# --------
|
||||||
|
|
Loading…
Reference in a new issue