-
-
Notifications
You must be signed in to change notification settings - Fork 2k
chore: Resolve some random TODOs #13328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "~TODO~", | ||
"name": "adapter-static-test-spa", | ||
"version": "0.0.1", | ||
"private": true, | ||
"scripts": { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,8 +146,7 @@ export async function setResponse(res, response) { | |
key, | ||
key === 'set-cookie' | ||
? set_cookie_parser.splitCookiesString( | ||
// This is absurd but necessary, TODO: investigate why | ||
/** @type {string}*/ (response.headers.get(key)) | ||
value | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mhhhm @gtm-nayan do you remember why exactly this was necessary? You added it in #9638 - want to make sure that not just using the value really was on purpose There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will have to test again to be exact but IIRC, there can be multiple set-cookie headers and how the value is returned with multiple of them, didn't work with how we use it here. |
||
) | ||
: value | ||
); | ||
|
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think it's worth adding a changeset for this?