diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-01-13 15:48:38 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-01-13 15:48:38 -0800 |
commit | 317dcbdda41cafbd5a330602b38b9a52fab5ec6f (patch) | |
tree | 23be361cc3d69a33d2aa88bf49c6586ff44b7afa /system/admin/config/config.go | |
parent | af31558e3d90b887758d9266c5ba80f0d9eaf3dc (diff) |
adding test in CORS middleware in fix for start
Diffstat (limited to 'system/admin/config/config.go')
-rw-r--r-- | system/admin/config/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/admin/config/config.go b/system/admin/config/config.go index a028ebf..ba12515 100644 --- a/system/admin/config/config.go +++ b/system/admin/config/config.go @@ -79,7 +79,7 @@ func (c *Config) MarshalEditor() ([]byte, error) { View: editor.Checkbox("DisableCORS", c, map[string]string{ "label": "Disable CORS (so only " + c.Domain + " can fetch your data)", }, map[string]string{ - "on": "Disable", + "true": "Disable", }), }, editor.Field{ |