From 9fc569a521649ed21fe3c471549abfc641ef7792 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Tue, 28 Jan 2025 16:40:54 +0100 Subject: [PATCH] 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. --- nuxt.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index accc33f..4c2c42f 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -122,6 +122,7 @@ export default defineNuxtConfig({ nitro: { experimental: { openAPI: true, + websocket: true, }, }, @@ -154,4 +155,4 @@ export default defineNuxtConfig({ }, compatibilityDate: '2024-08-19', -}) \ No newline at end of file +})