vuepress icon indicating copy to clipboard operation
vuepress copied to clipboard

我需要自定义 webSocketURL

Open Aomd opened this issue 1 year ago • 2 comments

"nodejs" : "v20.12.0" "vuepress": "^2.0.0-rc.8" "@vuepress/bundler-webpack": "^2.0.0-rc.9"

使用的是 code-server 使用域名代理转发

现状: wss://3000.example.cn:3000/ws 期望:wss://3000.example.cn/ws

我已经根据 https://webpack.js.org/configuration/dev-server/#websocketurl 进行设置但是并未生效

image

image

Aomd avatar Apr 02 '24 07:04 Aomd