Skip to content

Commit

Permalink
Feature/new router (#20)
Browse files Browse the repository at this point in the history
* Add authorization header to cors allow headers

* Set up origin list and added allow credentials

* Set origin throughout

* Add local fqd

* Add JWT handling

* Add package

* Fix reference to lib

* removed Bearer prefix

* local dev environment

* Port over to Hono

* FIx header (likely to remove)

* Clean up

* Deploy from branch

* Add staging branch

---------

Co-authored-by: Jon Breen <[email protected]>
  • Loading branch information
cultpodcasts and cultpodcasts authored May 3, 2024
1 parent 2413be3 commit 3e10c8b
Show file tree
Hide file tree
Showing 7 changed files with 406 additions and 398 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/buildAndDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ on:
push:
branches:
- main
- feature/submit-url-management
- feature/authorization-header
- feature/new-router
jobs:
deploy:
runs-on: ubuntu-latest
Expand Down
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"configurations": [

{
"name": "Wrangler",
"type": "node",
"request": "attach",
"port": 9229,
"cwd": "/",
"resolveSourceMapLocations": null,
"attachExistingChildren": false,
"autoAttachChildProcesses": false,
"sourceMaps": true // works with or without this line
}
]
}

160 changes: 104 additions & 56 deletions package-lock.json

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

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@
"start": "wrangler dev"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20230419.0",
"@cloudflare/workers-types": "^4.20240423.0",
"typescript": "^5.0.4",
"wrangler": "^3.23.0"
"wrangler": "^3.47.0"
},
"dependencies": {
"@cfworker/jwt": "^4.0.6",
"hono": "^4.2.9"
}
}
Loading

0 comments on commit 3e10c8b

Please sign in to comment.