diff --git a/frontend/splash.webp b/frontend/splash.webp
new file mode 100644
index 0000000..33298cb
Binary files /dev/null and b/frontend/splash.webp differ
diff --git a/frontend/src/lib/components/Splash.svelte b/frontend/src/lib/components/Splash.svelte
index fbdbc60..8c40fa7 100644
--- a/frontend/src/lib/components/Splash.svelte
+++ b/frontend/src/lib/components/Splash.svelte
@@ -12,7 +12,7 @@
{#if visible}
-
+
{/if}
\ No newline at end of file
+
diff --git a/frontend/src/sw.ts b/frontend/src/service-worker.js
similarity index 100%
rename from frontend/src/sw.ts
rename to frontend/src/service-worker.js
diff --git a/frontend/static/images/splash-background.png b/frontend/static/images/splash-background.png
deleted file mode 100644
index 2abfe47..0000000
Binary files a/frontend/static/images/splash-background.png and /dev/null differ
diff --git a/frontend/static/images/splash-background.webp b/frontend/static/images/splash-background.webp
new file mode 100644
index 0000000..33298cb
Binary files /dev/null and b/frontend/static/images/splash-background.webp differ
diff --git a/frontend/svelte.config.js b/frontend/svelte.config.js
index 8b28f11..94f837f 100644
--- a/frontend/svelte.config.js
+++ b/frontend/svelte.config.js
@@ -7,12 +7,6 @@ const config = {
// for more information about preprocessors
preprocess: vitePreprocess(),
kit: {
- files: {
- serviceWorker: 'src/sw.ts',
- },
- serviceWorker: {
- register: false
- },
adapter: adapter({
precompress: false,
}),
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts
index 9fbc28f..0d0ec5d 100644
--- a/frontend/vite.config.ts
+++ b/frontend/vite.config.ts
@@ -5,12 +5,7 @@ import { SvelteKitPWA } from '@vite-pwa/sveltekit'
const config = {
plugins: [
sveltekit(),
- SvelteKitPWA({
- registerType: 'autoUpdate',
- strategies: 'injectManifest',
- srcDir: 'src',
- filename: 'sw.ts',
- })
+ SvelteKitPWA()
],
test: {
include: ["src/**/*.{test,spec}.{js,ts}"],
@@ -26,4 +21,4 @@ const config = {
},
};
-export default config;
\ No newline at end of file
+export default config;