Skip to content

Commit fe77b13

Browse files
authored
Merge pull request #82 from Boegie19/key-fix
fix cache key
2 parents 0e40778 + f2c7c36 commit fe77b13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/strapi-plugin-rest-cache/server/utils/keys/generateCacheKey.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function generateCacheKey(
2323
headersSuffix = generateHeadersKey(ctx, keys.useHeaders);
2424
}
2525

26-
const requestPath = toLower(path.normalize(ctx.request.path)).replace(
26+
const requestPath = toLower(path.posix.normalize(ctx.request.path)).replace(
2727
/\/$/,
2828
''
2929
);

0 commit comments

Comments
 (0)