From 478c9efe41833ac6573a4d5b432070458bc5380f Mon Sep 17 00:00:00 2001 From: Egor Date: Sat, 28 Mar 2026 17:07:39 -0700 Subject: [PATCH] rename prism admin -> prism --- public/index.html | 2 +- public/manifest.json | 2 +- service/server/middleware.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 }