Merge pull request #11 from mattn/fix-bug

do not send 404 twice
This commit is contained in:
kaiji
2023-08-22 16:55:10 +09:00
committed by GitHub

View File

@@ -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
})