Skip to content

Commit ff279bb

Browse files
committed
fix(repl): correct base url
1 parent 966746c commit ff279bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/docs/src/repl/worker/app-ssr-html.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export const appSsrHtml = async (options: ReplInputOptions, cache: Cache, result
6565
};
6666

6767
const appUrl = `/repl/` + result.clientId + `/`;
68+
(globalThis as any).BASE_URL = appUrl;
6869
const baseUrl = appUrl + `build/`;
6970
const ssrResult = await render({
7071
base: baseUrl,

0 commit comments

Comments
 (0)