From 8b9d19d5a7212d3e0d493ad6a0570434f9049b43 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Sat, 17 Dec 2016 06:20:09 -0800 Subject: moving reference to addons --- system/api/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') 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 { -- cgit v1.2.3