Add catchall api route
This commit is contained in:
parent
748aa0e120
commit
91d00eec57
5
functions/api/[[path]].ts
Normal file
5
functions/api/[[path]].ts
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import { jsonError } from "../common.js";
|
||||||
|
|
||||||
|
export async function onRequest(context: RequestContext) {
|
||||||
|
return jsonError("Not found", 404);
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user