13 lines
293 B

import { Req, Res, ReturnValue } from "#/global"
import { auth, route } from "@noderun/hapi-router"
export default class {
@route("/{path*}")
@auth(false)
async any(req: Req, h: Res): ReturnValue {
return {
code: 404,
data: null,
}
}
}