rename prism admin -> prism

This commit is contained in:
lone-cloud 2026-03-28 17:07:39 -07:00
parent c9d52e6b43
commit e5778f68aa
3 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Prism Admin</title> <title>Prism</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#56C3DE"> <meta name="theme-color" content="#56C3DE">
<link rel="icon" type="image/webp" href="/favicon.webp"> <link rel="icon" type="image/webp" href="/favicon.webp">

View file

@ -1,5 +1,5 @@
{ {
"name": "Prism Admin", "name": "Prism",
"short_name": "Prism", "short_name": "Prism",
"description": "Notification gateway admin panel", "description": "Notification gateway admin panel",
"start_url": "/", "start_url": "/",

View file

@ -20,7 +20,7 @@ func authMiddleware(apiKey string) func(http.Handler) http.Handler {
return func(next http.Handler) http.Handler { return func(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
if !util.VerifyAPIKey(r, apiKey) { 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) http.Error(w, "Unauthorized", http.StatusUnauthorized)
return return
} }