From 00321932ef30942e78c1fcc86232c9e1dc837b86 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Fri, 5 Oct 2018 21:16:27 -0400 Subject: [PATCH] no need to use basepath in --- templates/src/client/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/src/client/app.ts b/templates/src/client/app.ts index 52f80ddeb..a9666e71f 100644 --- a/templates/src/client/app.ts +++ b/templates/src/client/app.ts @@ -342,7 +342,7 @@ export function prepare_page(target: Target): Promise<{ } function load_css(chunk: string) { - const href = `${initial_data.baseUrl}client/${chunk}`; + const href = `client/${chunk}`; if (document.querySelector(`link[href="${href}"]`)) return; return new Promise((fulfil, reject) => {