Skip to content

Commit

Permalink
fix(cookies): do not validate cookies to prevent 'invalid cookie valu…
Browse files Browse the repository at this point in the history
…e' error for 3rd party cookies
  • Loading branch information
andris9 committed Jan 11, 2024
1 parent 6af8a4c commit a869640
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions workers/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,10 @@ const init = async () => {
host: API_HOST,
tls: API_TLS,

state: {
strictHeader: false
},

router: {
stripTrailingSlash: true
},
Expand Down

0 comments on commit a869640

Please sign in to comment.