diff options
-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 5504830..76d97eb 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{ - "true": "Disable", + "on": "Disable", }), }, editor.Field{ |