This commit is contained in:
tilo committed 2023-01-29 22:40:21 +01:00
1 parent 605e1dad39
commit 05d1d51448
1 file changed
+1 -1
+1 -1
View File
@@ -127,7 +127,7 @@ func loadCurrent() {
func cors(fs http.Handler) http.HandlerFunc { func cors(fs http.Handler) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) { 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) fs.ServeHTTP(w, r)
} }