Skip to content

Commit

Permalink
Merge pull request #82 from Boegie19/key-fix
Browse files Browse the repository at this point in the history
fix cache key
  • Loading branch information
Boegie19 authored Mar 18, 2024
2 parents 0e40778 + f2c7c36 commit fe77b13
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function generateCacheKey(
headersSuffix = generateHeadersKey(ctx, keys.useHeaders);
}

const requestPath = toLower(path.normalize(ctx.request.path)).replace(
const requestPath = toLower(path.posix.normalize(ctx.request.path)).replace(
/\/$/,
''
);
Expand Down

0 comments on commit fe77b13

Please sign in to comment.