This commit is contained in:
Lars committed 2026-08-29 20:28:59 +02:00
1 parent be11f82f84
commit e42f751fdc
47 files changed
+3359 -301

No files matched your search

+9 -3
View File
@@ -24,8 +24,8 @@ export default defineConfig({
globPatterns: ['**/*.{js,css,html,svg}'],
runtimeCaching: [{
urlPattern: /^\/api\//,
handler: 'NetworkFirst',
options: { cacheName: 'api-cache', expiration: { maxEntries: 50 } }
handler: 'NetworkOnly',
options: { cacheName: 'api-cache' }
}]
}
})
@@ -33,6 +33,12 @@ export default defineConfig({
server: {
port: 5188,
strictPort: true,
proxy: { '/api': 'http://127.0.0.1:8018' }
proxy: {
'/api': {
target: 'http://127.0.0.1:8018',
timeout: 600000,
proxyTimeout: 600000
}
}
}
})