feat: use sveltekit pwa
This commit is contained in:
1 parent
fd29a7d1f8
commit
1ee2918031
10 files changed
+2362
-131
No files matched your search
+8
-8
@@ -13,14 +13,14 @@ const config = {
|
||||
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
|
||||
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
||||
adapter: process.env.ADAPTER == 'node' ? node() : auto(),
|
||||
csp: {
|
||||
directives: {
|
||||
'script-src': ['self'],
|
||||
'object-src': ['none'],
|
||||
'base-uri': ['none']
|
||||
},
|
||||
mode: 'nonce'
|
||||
}
|
||||
// csp: {
|
||||
// directives: {
|
||||
// 'script-src': ['self'],
|
||||
// 'object-src': ['none'],
|
||||
// 'base-uri': ['none']
|
||||
// },
|
||||
// mode: 'nonce'
|
||||
// }
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user