Skip to content

Commit 4deaef7

Browse files
committed
chore: change realm
1 parent 1534816 commit 4deaef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
8686
if auth == authOn {
8787
_, p, ok := basicProxyAuth(r.Header.Get("Proxy-Authorization"))
8888
if !ok {
89-
w.Header().Set("Proxy-Authenticate", `Basic realm=go`)
89+
w.Header().Set("Proxy-Authenticate", `Basic realm=Restricted`)
9090
http.Error(w, "proxy auth required", http.StatusProxyAuthRequired)
9191
return
9292
}

0 commit comments

Comments
 (0)