mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
feat: service worker cache static app resources, and all entry points (#18043)
* feat: service worker cache static app resources, and all entry points * review comments * review * lint * minor tweaks * review comments * optimize disabled cache --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
8923d5b0a3
commit
ed5b260eeb
5 changed files with 180 additions and 75 deletions
|
|
@ -14,6 +14,9 @@ const config = {
|
|||
},
|
||||
preprocess: vitePreprocess(),
|
||||
kit: {
|
||||
paths: {
|
||||
relative: false,
|
||||
},
|
||||
adapter: adapter({
|
||||
fallback: 'index.html',
|
||||
precompress: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue