mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-22 13:51:37 +01:00
Add experimental WebSocket support in Nitro config
Enabled the experimental WebSocket feature in the Nitro configuration. This prepares the application for WebSocket-based functionalities and aligns with other experimental features like OpenAPI.
This commit is contained in:
@@ -122,6 +122,7 @@ export default defineNuxtConfig({
|
||||
nitro: {
|
||||
experimental: {
|
||||
openAPI: true,
|
||||
websocket: true,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -154,4 +155,4 @@ export default defineNuxtConfig({
|
||||
},
|
||||
|
||||
compatibilityDate: '2024-08-19',
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user