summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-01-13 15:05:57 -0800
committerSteve Manuel <nilslice@gmail.com>2017-01-13 15:05:57 -0800
commitb020490255870ad2b539c61fd162d519b7c22666 (patch)
treea68f7a410cc40db7786bcf8a780cd5a9f53d7039
parent1225c90c0d0a49f91c59e119ee3748efdb0b78db (diff)
adding test to fix bool conversion with schema
-rw-r--r--system/admin/config/config.go2
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{