Skip to content

Commit

Permalink
correct code comment (#3223)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbe committed Mar 12, 2021
1 parent 97de6a5 commit 6cbc6a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployer/aws-lambda/content-origin-request/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ exports.handler = async (event) => {

// If the URL was something like `https://domain/en-US/search/`, our code
// would make a that a redirect to `/en-US/search` (stripping the trailing slash).
// But if it was `https://domain/en-US/search/` it'd make a redirect
// But if it was `https://domain//en-US/search/` it'd make a redirect
// to `//en-US/search`.
// However, if pathname starts with `//` the Location header might look
// relative but it's actually an absolute URL.
Expand Down

0 comments on commit 6cbc6a0

Please sign in to comment.