updated to unauthorized
All checks were successful
release-tag / release-image (push) Successful in 1m52s
All checks were successful
release-tag / release-image (push) Successful in 1m52s
This commit is contained in:
1
main.go
1
main.go
@@ -784,5 +784,6 @@ func errorhtml(w http.ResponseWriter, r *http.Request) {
|
|||||||
</html>`
|
</html>`
|
||||||
|
|
||||||
w.Header().Set("Content-Type", "text/html; charset=utf-8")
|
w.Header().Set("Content-Type", "text/html; charset=utf-8")
|
||||||
|
w.WriteHeader(http.StatusForbidden)
|
||||||
_, _ = w.Write([]byte(html))
|
_, _ = w.Write([]byte(html))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user