Skip to content

Commit

Permalink
fix: remove wrong condition that prevents cookie parsing (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
predetermined authored Jul 3, 2022
1 parent ba0f5d8 commit cc086fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export async function getAquaRequestFromNativeRequest(
method: req.method.toUpperCase() as Method,
headers: Object.fromEntries(req.headers),
query: req.url.includes("?") ? parseQuery(req.url) : {},
cookies: req.headers.get("cookies") ? parseCookies(req.headers) : {},
cookies: parseCookies(req.headers),
parameters: {},
matches: [],
conn,
Expand Down

0 comments on commit cc086fc

Please sign in to comment.