Skip to content

Commit

Permalink
fix versions with slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Nov 6, 2023
1 parent bd49570 commit 3b88562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default {
const cacheResponse = await cache.match(request);

const url = new URL(request.url);
const key = decodeURI(url.pathname.slice(1));
const key = decodeURIComponent(url.pathname.slice(1));

const urlData = extractUrlData(key);

Expand Down

0 comments on commit 3b88562

Please sign in to comment.