Skip to content

Commit

Permalink
don't do the slash fix for blog
Browse files Browse the repository at this point in the history
  • Loading branch information
lyleschemmerling committed Aug 7, 2023
1 parent d52b54f commit e7f4dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cloudfront/fusionauth-website-request-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function handler(event) {
}

function removeSlash(uri) {
return ip[uri] !== true && !uri.startsWith('/blog/page') && !uri.startsWith('/blog/archive') &&
return ip[uri] !== true && !uri.startsWith('/blog') &&
redirectsByPrefix.find(e => uri.startsWith(e[0])) === undefined;
}

Expand Down

0 comments on commit e7f4dd9

Please sign in to comment.