Skip to content

Commit 0e88f37

Browse files
committed
fix: 💫 update for SvelteKit changes
1 parent e83f90d commit 0e88f37

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

src/app.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="en">
2+
<html lang="en-GB">
33
<head>
44
<meta charset="utf-8" />
55
<link rel="icon" href="%sveltekit.assets%/favicon.ico" sizes="any" />

src/service-worker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// based on https://github.com/tretapey/svelte-pwa/blob/master/public/service-worker.js
2-
import { build, files, timestamp } from '$service-worker';
2+
import { build, files, version } from '$service-worker';
33

44
const worker = self;
5-
const CACHE_NAME = `static-cache-${timestamp}`;
5+
const CACHE_NAME = `static-cache-${version}`;
66

77
const to_cache = build.concat(files);
88

static/icon.svg

Lines changed: 16 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)