Skip to content

Commit

Permalink
Fix src/index.ts for itty-router 5.x and bump dependendencies
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewgall committed Apr 7, 2024
1 parent e62d9a5 commit 2e41b19
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 53 deletions.
96 changes: 48 additions & 48 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"start": "wrangler dev"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240320.1",
"typescript": "^5.4.3",
"wrangler": "^3.41.0"
"@cloudflare/workers-types": "^4.20240405.0",
"typescript": "^5.4.4",
"wrangler": "^3.48.0"
},
"dependencies": {
"fanger": "^0.3.1",
"itty-router": "^5.0.4"
"itty-router": "^5.0.9"
}
}
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ router.all('/', async (request, env, context) => {
router.all("*", () => new Response("404, not found!", { status: 404 }))

export default {
fetch: router.handle
fetch: router.fetch
}

0 comments on commit 2e41b19

Please sign in to comment.