From 1e9cd848542b85f2231d1a0b753c5a839c16b9dd Mon Sep 17 00:00:00 2001 From: Seb35 Date: Mon, 25 Mar 2019 20:33:43 +0100 Subject: [PATCH] Fix base-path with service-worker-index.html - fixes #579 --- src/core/create_app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/create_app.ts b/src/core/create_app.ts index 983b03b..e388c39 100644 --- a/src/core/create_app.ts +++ b/src/core/create_app.ts @@ -44,7 +44,7 @@ export function create_serviceworker_manifest({ manifest_data, output, client_fi client_files: string[]; static_files: string; }) { - let files: string[] = ['/service-worker-index.html']; + let files: string[] = ['service-worker-index.html']; if (fs.existsSync(static_files)) { files = files.concat(walk(static_files));