Skip to content

Commit

Permalink
Netlify deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
johnd0e committed Feb 26, 2024
1 parent 0c3aa01 commit a5deedf
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.netlify
.wrangler
2 changes: 2 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[functions]
node_bundler = "esbuild"
5 changes: 5 additions & 0 deletions netlify/edge-functions/handler.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export const config = { path: "/edge/*" };

import worker from "../../src/worker.mjs";

export default worker.fetch;
5 changes: 5 additions & 0 deletions netlify/functions/handler.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export const config = { path: "/*" };

import worker from "../../src/worker.mjs";

export default worker.fetch;

0 comments on commit a5deedf

Please sign in to comment.