mirror of
https://github.com/studiokaiji/nostr-webhost.git
synced 2026-02-23 16:04:21 +01:00
do not send 404 twice
This commit is contained in:
@@ -70,9 +70,10 @@ func Start(port string) {
|
||||
default:
|
||||
ctx.String(http.StatusNotFound, http.StatusText(http.StatusNotFound))
|
||||
}
|
||||
} else {
|
||||
ctx.String(http.StatusNotFound, http.StatusText(http.StatusNotFound))
|
||||
}
|
||||
|
||||
ctx.String(http.StatusNotFound, http.StatusText(http.StatusNotFound))
|
||||
return
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user