diff --git a/public/index.html b/public/index.html index de8e5ec..b2f8c9d 100644 --- a/public/index.html +++ b/public/index.html @@ -2,7 +2,7 @@ - Prism Admin + Prism diff --git a/public/manifest.json b/public/manifest.json index a046343..a03ba27 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,5 +1,5 @@ { - "name": "Prism Admin", + "name": "Prism", "short_name": "Prism", "description": "Notification gateway admin panel", "start_url": "/", diff --git a/service/server/middleware.go b/service/server/middleware.go index 70e2a39..abf6233 100644 --- a/service/server/middleware.go +++ b/service/server/middleware.go @@ -20,7 +20,7 @@ func authMiddleware(apiKey string) func(http.Handler) http.Handler { return func(next http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { if !util.VerifyAPIKey(r, apiKey) { - w.Header().Set("WWW-Authenticate", `Basic realm="Prism Admin - Username: any, Password: API_KEY"`) + w.Header().Set("WWW-Authenticate", `Basic realm="Prism - Username: any, Password: API_KEY"`) http.Error(w, "Unauthorized", http.StatusUnauthorized) return }