* init p2p polling app
This commit is contained in:
19
nuxt.config.ts
Normal file
19
nuxt.config.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2025-07-15',
|
||||
devtools: { enabled: true },
|
||||
vite: {
|
||||
optimizeDeps: {
|
||||
include: ['yjs', 'y-webrtc']
|
||||
}
|
||||
},
|
||||
// ... existing config
|
||||
nitro: {
|
||||
storage: {
|
||||
polls: {
|
||||
driver: 'fs',
|
||||
base: './.data/polls'
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user