Skip to content

Commit

Permalink
fix: rsc middleware (dai-shi#861)
Browse files Browse the repository at this point in the history
just a minor fix.
  • Loading branch information
dai-shi authored Aug 31, 2024
1 parent 3acc456 commit c48e59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/waku/src/lib/middleware/rsc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const rsc: Middleware = (options) => {
const { headers } = ctx.req;
try {
const input = decodeInput(
ctx.req.url.pathname.slice(basePrefix.length),
decodeURI(ctx.req.url.pathname.slice(basePrefix.length)),
);
const args: RenderRscArgs = {
env,
Expand Down

0 comments on commit c48e59a

Please sign in to comment.