Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit d7f6ca8

Browse files
authored
Merge pull request #466 from sveltejs/css-basepath
no need to use basepath in <link>
2 parents 7eb1ec7 + 0032193 commit d7f6ca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/src/client/app.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ export function prepare_page(target: Target): Promise<{
342342
}
343343

344344
function load_css(chunk: string) {
345-
const href = `${initial_data.baseUrl}client/${chunk}`;
345+
const href = `client/${chunk}`;
346346
if (document.querySelector(`link[href="${href}"]`)) return;
347347

348348
return new Promise((fulfil, reject) => {

0 commit comments

Comments
 (0)