diff --git a/main.go b/main.go index 7cec47a..b7d8e0b 100644 --- a/main.go +++ b/main.go @@ -127,7 +127,7 @@ func loadCurrent() { func cors(fs http.Handler) http.HandlerFunc { return func(w http.ResponseWriter, r *http.Request) { - (*w).Header().Set("Access-Control-Allow-Origin", "*") + (w).Header().Set("Access-Control-Allow-Origin", "*") fs.ServeHTTP(w, r) }