From 05d1d514483f24f4c6abe1ae2fb17c2d32b48c91 Mon Sep 17 00:00:00 2001 From: Tilo Klarenbeek Date: Sun, 29 Jan 2023 22:40:21 +0100 Subject: [PATCH] sdas --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }