return real 404
This commit is contained in:
parent
fe8272e0c5
commit
7b52bb9da9
@ -16,5 +16,5 @@ export async function Wrap(status: Status, body: any): Promise<Response> {
|
||||
}
|
||||
|
||||
export async function NotFound(): Promise<Response> {
|
||||
return Wrap(Status.NotFound, 'Not Found');
|
||||
return new Response('Not Found', { status: 404 });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user