Skip to content

Commit

Permalink
fix(deps): update dependency netlify-redirector to v0.2.1 (#1550)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Nov 11, 2020
1 parent 27200b2 commit 87086cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

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

3 changes: 0 additions & 3 deletions src/utils/rules-proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,6 @@ const createRewriter = async function ({ distDir, projectDir, jwtSecret, jwtRole
path: reqUrl.pathname,
query: reqUrl.search.slice(1),
headers,
// passing an empty object for cookies is required due to a bug in netlify-redirector
// actual cookie values are retrieved via getCookie
cookies: {},
cookieValues,
getHeader: (name) => headers[name.toLowerCase()] || '',
getCookie: (key) => cookieValues[key] || '',
Expand Down

0 comments on commit 87086cb

Please sign in to comment.