Skip to content

Commit 0fab13a

Browse files
authored
fix: revert remote component outlet encoding (#92)
1 parent 7690928 commit 0fab13a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-server/server/RemoteComponent.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function RemoteComponentLoader({ url, ttl, request = {}, onError }) {
1818
Origin: url.origin,
1919
...request.headers,
2020
Accept: "text/html;remote",
21-
"React-Server-Outlet": encodeURIComponent(url.toString()),
21+
"React-Server-Outlet": url.toString(),
2222
},
2323
}).catch((e) => {
2424
(onError ?? getContext(LOGGER_CONTEXT)?.error)?.(e);

0 commit comments

Comments
 (0)