diff options
author | Emile <hanemile@protonmail.com> | 2020-01-30 14:57:53 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2020-01-30 14:57:53 +0100 |
commit | 8bdc5f6a52075b434288f943e64945140f38f8db (patch) | |
tree | 1fae58a7688efab3faada6a310803199506c8ee0 /src/http.go | |
parent | 473114cd6b539b10e6d1dcb2cc7f5cebb51da8fd (diff) |
Diffstat (limited to 'src/http.go')
-rw-r--r-- | src/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
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", "[") |