Skip to content

Commit

Permalink
fix(cloud-function): skip next() on fundamental redirect (#11222)
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner authored May 31, 2024
1 parent ef26b7f commit 00daf0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloud-function/src/middlewares/redirect-fundamental.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export async function redirectFundamental(
(fundamentalRedirect.url.includes("?") ? "&" : "?") +
url.search.substring(1);
}
redirect(res, fundamentalRedirect.url, {
return redirect(res, fundamentalRedirect.url, {
status: fundamentalRedirect.status,
cacheControlSeconds: THIRTY_DAYS,
});
Expand Down

0 comments on commit 00daf0f

Please sign in to comment.