Skip to content

Commit

Permalink
remove decode
Browse files Browse the repository at this point in the history
  • Loading branch information
tlgimenes committed Mar 26, 2024
1 parent 9864b12 commit bf3cfa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/realtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export class Realtime implements DurableObject {
"/volumes/:id/files/*": {
GET: async (req, { params }) => {
const volumeId = params.id;
const path = decodeURI(`/${params["0"]}`);
const path = `/${params["0"]}`;
const contentQs = new URL(req.url).searchParams.get("content");
const contentFilter: false | string = contentQs === "true"
? "/"
Expand Down

0 comments on commit bf3cfa8

Please sign in to comment.