diff --git a/src/app/backend/handler/confighandler.go b/src/app/backend/handler/confighandler.go index da50cc7469d..2867288f87c 100644 --- a/src/app/backend/handler/confighandler.go +++ b/src/app/backend/handler/confighandler.go @@ -61,6 +61,7 @@ func getAppConfigJSON() string { func ConfigHandler(w http.ResponseWriter, r *http.Request) (int, error) { template, err := template.New(ConfigTemplateName).Parse(ConfigTemplate) + w.Header().Set("Content-Type", "application/javascript") if err != nil { http.Error(w, err.Error(), http.StatusInternalServerError) return http.StatusInternalServerError, err