You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
268 B
13 lines
268 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,
|
|
};
|
|
}
|
|
}
|
|
|