1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-22 09:12:19 +00:00

Change not found error message

This commit is contained in:
Alexandre Iooss 2020-10-16 21:26:48 +02:00
parent 73a2adc055
commit 9fc94cf0de
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02

View File

@ -130,7 +130,7 @@ func viewerHandler(w http.ResponseWriter, r *http.Request) {
// Validation on path
if validPath.FindStringSubmatch(r.URL.Path) == nil {
http.NotFound(w, r)
log.Print(r.URL.Path)
log.Printf("Replied not found on %s", r.URL.Path)
return
}