Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add catchall api route
  • Loading branch information
regalijan committed Oct 20, 2023
1 parent 748aa0e commit 91d00ee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions functions/api/[[path]].ts
@@ -0,0 +1,5 @@
import { jsonError } from "../common.js";

export async function onRequest(context: RequestContext) {
return jsonError("Not found", 404);
}

0 comments on commit 91d00ee

Please sign in to comment.