diff --git a/authenticated.go b/authenticated.go index 9901def..4bb7e54 100644 --- a/authenticated.go +++ b/authenticated.go @@ -8,6 +8,10 @@ import ( ) func authenticated(w http.ResponseWriter, r *http.Request) { + if r.URL.Path == "/test" { + w.Write([]byte("It's working!")) + return + } // defense in depth if httpPassword == "" { http.Error(w, "httpPassword not set", http.StatusInternalServerError)