mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 03:05:12 +00:00
Merge pull request #616 from Seb35/fix-swindex-base-path
Fix base-path with service-worker-index.html - fixes #579
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user