コンテンツが存在しない場合に404を返すようにした

This commit is contained in:
Haruki
2023-08-22 08:09:31 +09:00
parent 328952c0b9
commit dff8704c68

View File

@@ -70,9 +70,9 @@ func Start(port string) {
default:
ctx.String(http.StatusNotFound, http.StatusText(http.StatusNotFound))
}
}
ctx.String(http.StatusNotFound, http.StatusText(http.StatusNotFound))
return
})