Skip to content

Commit 4469cd2

Browse files
committed
fix: Update Service Worker paths for /trinity/ base
1 parent 9edb2de commit 4469cd2

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

website/public/sw.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
const CACHE_NAME = 'trinity-v1';
1+
const CACHE_NAME = 'trinity-v2';
2+
const BASE_PATH = '/trinity';
23
const STATIC_ASSETS = [
3-
'/',
4-
'/index.html',
5-
'/vite.svg',
6-
'/manifest.json'
4+
BASE_PATH + '/',
5+
BASE_PATH + '/index.html',
6+
BASE_PATH + '/vite.svg',
7+
BASE_PATH + '/manifest.json'
78
];
89

910
// Install - cache static assets

0 commit comments

Comments
 (0)