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:
2025-01-28 16:40:54 +01:00
parent 87091a4c47
commit 9fc569a521

View File

@@ -122,6 +122,7 @@ export default defineNuxtConfig({
nitro: {
experimental: {
openAPI: true,
websocket: true,
},
},
@@ -154,4 +155,4 @@ export default defineNuxtConfig({
},
compatibilityDate: '2024-08-19',
})
})