diff --git a/packages/qwik-nx/src/generators/host/files/src/components/remote-mfe/remote-mfe.tsx.template b/packages/qwik-nx/src/generators/host/files/src/components/remote-mfe/remote-mfe.tsx.template index ddde00e5..d0ed6321 100644 --- a/packages/qwik-nx/src/generators/host/files/src/components/remote-mfe/remote-mfe.tsx.template +++ b/packages/qwik-nx/src/generators/host/files/src/components/remote-mfe/remote-mfe.tsx.template @@ -22,7 +22,7 @@ export const RemoteMfe = component$(({ remote }: RemoteMfeProps) => { {async (stream) => { // constructing the url by swapping the origin of an actual page's origin with the one from the config // this behavior is expected to be adjusted to feet the specifics of the use case - const url = loc.href.replace(new URL(loc.href).origin, remotesConfig[remote]); + const url = loc.url.href.replace(new URL(loc.url.href).origin, remotesConfig[remote]); const init: RequestInit = { headers: { accept: 'text/html' }, };