From 8bdc5f6a52075b434288f943e64945140f38f8db Mon Sep 17 00:00:00 2001 From: Emile Date: Thu, 30 Jan 2020 14:57:53 +0100 Subject: update dthe acces-controll-allow-origin header --- src/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http.go b/src/http.go index 04ade17..2eaf276 100644 --- a/src/http.go +++ b/src/http.go @@ -36,7 +36,7 @@ func locationHandlerEndpoint(w http.ResponseWriter, r *http.Request) { // set some headers w.Header().Set("Content-Type", "application/json") - w.Header().Set("Access-Control-Allow-Origin", "https://grafana.nbg1.emile.space") + w.Header().Set("Access-Control-Allow-Origin", "https://grafana.fsn1.emile.space") // start building json (yes, this is not a nice implementation, PRs welcome!) fmt.Fprintf(w, "%s", "[") -- cgit 1.4.1