mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-22 19:42:20 +00:00
Change not found error message
This commit is contained in:
parent
73a2adc055
commit
9fc94cf0de
@ -130,7 +130,7 @@ func viewerHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
// Validation on path
|
// Validation on path
|
||||||
if validPath.FindStringSubmatch(r.URL.Path) == nil {
|
if validPath.FindStringSubmatch(r.URL.Path) == nil {
|
||||||
http.NotFound(w, r)
|
http.NotFound(w, r)
|
||||||
log.Print(r.URL.Path)
|
log.Printf("Replied not found on %s", r.URL.Path)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user