summaryrefslogtreecommitdiff
path: root/system/api/handlers.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-17 06:20:09 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-17 06:20:09 -0800
commit8b9d19d5a7212d3e0d493ad6a0570434f9049b43 (patch)
tree18b4c77d198df8b84288f13bde612dff53d6a00b /system/api/handlers.go
parent432652e9d1dc668526bdd57ddf0c6060659c65d1 (diff)
moving reference to addons
Diffstat (limited to 'system/api/handlers.go')
-rw-r--r--system/api/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/api/handlers.go b/system/api/handlers.go
index 7a2073d..fae3ef6 100644
--- a/system/api/handlers.go
+++ b/system/api/handlers.go
@@ -224,7 +224,7 @@ func SendJSON(res http.ResponseWriter, j map[string]interface{}) {
sendData(res, data, 200)
}
-// CORS wraps a HandleFunc to response to OPTIONS requests properly
+// CORS wraps a HandleFunc to respond to OPTIONS requests properly
func CORS(next http.HandlerFunc) http.HandlerFunc {
return db.CacheControl(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
if req.Method == http.MethodOptions {