summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
authorElias Nahum <nahumhbl@gmail.com>2016-03-01 13:00:54 -0300
committerElias Nahum <nahumhbl@gmail.com>2016-03-01 13:00:54 -0300
commitba6a38a7f6c497e025708111046d67875c4361be (patch)
tree7db65506f395a8d98de086d2b184b33b47f8b2fc /model
parent8aa4e28932ec43090ca6b481929fafbe0119a660 (diff)
downloadchat-ba6a38a7f6c497e025708111046d67875c4361be.tar.gz
chat-ba6a38a7f6c497e025708111046d67875c4361be.tar.bz2
chat-ba6a38a7f6c497e025708111046d67875c4361be.zip
Allow CORS
Diffstat (limited to 'model')
-rw-r--r--model/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/model/config.go b/model/config.go
index aa3dd3586..a7d92c101 100644
--- a/model/config.go
+++ b/model/config.go
@@ -39,6 +39,7 @@ type ServiceSettings struct {
EnableDeveloper *bool
EnableSecurityFixAlert *bool
EnableInsecureOutgoingConnections *bool
+ AllowCorsFrom string
SessionLengthWebInDays *int
SessionLengthMobileInDays *int
SessionLengthSSOInDays *int