diff options
author | Nick Thomas <nick@gitlab.com> | 2017-06-14 20:11:56 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2017-06-15 19:40:43 +0300 |
commit | 3e4c8c7c8fd519cfba327cced38c81756dba816d (patch) | |
tree | afaec1709558457705e1230239792f2ddb4dfe2c /app_config.go | |
parent | d7de6b25b36ae245c9befdd09162a169b9d28651 (diff) |
Add CORS support to GET requests
Diffstat (limited to 'app_config.go')
-rw-r--r-- | app_config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app_config.go b/app_config.go index 04c787e1..18fd644c 100644 --- a/app_config.go +++ b/app_config.go @@ -13,4 +13,6 @@ type appConfig struct { HTTP2 bool RedirectHTTP bool + + DisableCrossOriginRequests bool } |