From 11c796aa75971480974c94f4c27e2e578c572bd2 Mon Sep 17 00:00:00 2001 From: ZLY Date: Tue, 14 Oct 2025 11:44:41 +0800 Subject: [PATCH] =?UTF-8?q?refactor(config):=20=E7=A7=BB=E9=99=A4=20WebSoc?= =?UTF-8?q?ket=20=E4=BB=A3=E7=90=86=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next.config.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/next.config.js b/next.config.js index f7f9b3e..be69c8a 100644 --- a/next.config.js +++ b/next.config.js @@ -58,10 +58,6 @@ module.exports = withLess( source: '/api/:path*', destination: `${target}/api/:path*` // api代理 } - // { - // source: '/ws/:path*', - // destination: `${target.replace('http', 'ws')}/WS/:path*` // WebSocket 代理 - // } ]; }, pageExtensions: ['tsx']