summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2018-07-26 08:31:22 -0700
committerGitHub <noreply@github.com>2018-07-26 08:31:22 -0700
commitbae26ec268aef4e85d5055f1b83c6b3992bf178f (patch)
tree74ab5e508661068b30516c704ffc0a9b02efa8d5 /config
parent185ed89978e0d88d75b5c606104e78058753bd4d (diff)
downloadchat-bae26ec268aef4e85d5055f1b83c6b3992bf178f.tar.gz
chat-bae26ec268aef4e85d5055f1b83c6b3992bf178f.tar.bz2
chat-bae26ec268aef4e85d5055f1b83c6b3992bf178f.zip
MM-11160 Adding proper CORS support. (#9152)
* Adding proper CORS support. * Better CORS tests.
Diffstat (limited to 'config')
-rw-r--r--config/default.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/default.json b/config/default.json
index add9a71d6..d0c18e60c 100644
--- a/config/default.json
+++ b/config/default.json
@@ -33,6 +33,9 @@
"EnforceMultifactorAuthentication": false,
"EnableUserAccessTokens": false,
"AllowCorsFrom": "",
+ "CorsExposedHeaders": "",
+ "CorsAllowCredentials": false,
+ "CorsDebug": false,
"AllowCookiesForSubdomains": false,
"SessionLengthWebInDays": 30,
"SessionLengthMobileInDays": 30,