Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我需要自定义 webSocketURL #3211

Open
Aomd opened this issue Apr 2, 2024 · 2 comments
Open

我需要自定义 webSocketURL #3211

Aomd opened this issue Apr 2, 2024 · 2 comments

Comments

@Aomd
Copy link

Aomd commented Apr 2, 2024

"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

@nbro
Copy link

nbro commented Apr 4, 2024

@Aomd If you're new to VuePress, like me, you probably didn't realise that there's VitePress, which seems to be the successor of VuePress.

@Aomd
Copy link
Author

Aomd commented Apr 7, 2024

@Aomd If you're new to VuePress, like me, you probably didn't realise that there's VitePress, which seems to be the successor of VuePress.

I need webpack, too many vite requests, too many cloud development restrictions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants