PWA a bissi probiert

This commit is contained in:
dhain 2022-10-10 20:28:51 +02:00
parent 7a5ba150f7
commit 4125b433e5
10 changed files with 55 additions and 36 deletions

View file

@ -2,7 +2,14 @@ import { sveltekit } from '@sveltejs/kit/vite';
import type { UserConfig } from 'vite';
const config: UserConfig = {
plugins: [sveltekit()]
plugins: [sveltekit()],
server: {
fs: {
// Allow serving files from one level up to the project root
allow: ['..'],
},
},
};
export default config;