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']