We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e40778 + f2c7c36 commit fe77b13Copy full SHA for fe77b13
packages/strapi-plugin-rest-cache/server/utils/keys/generateCacheKey.js
@@ -23,7 +23,7 @@ function generateCacheKey(
23
headersSuffix = generateHeadersKey(ctx, keys.useHeaders);
24
}
25
26
- const requestPath = toLower(path.normalize(ctx.request.path)).replace(
+ const requestPath = toLower(path.posix.normalize(ctx.request.path)).replace(
27
/\/$/,
28
''
29
);
0 commit comments