In Vite 6.0.8 and below, WebSocket server was able to connect from any web pages. However,
that could be exploited by a malicious web page.
In Vite 6.0.9+, the WebSocket server now requires a token to connect from a web page.
But this may break some plugins and frameworks that connects to the WebSocket server
on their own. Enabling this option will make Vite skip the token check.
We do not recommend enabling this option unless you are sure that you are fine with
that security weakness.
In Vite 6.0.8 and below, WebSocket server was able to connect from any web pages. However, that could be exploited by a malicious web page.
In Vite 6.0.9+, the WebSocket server now requires a token to connect from a web page. But this may break some plugins and frameworks that connects to the WebSocket server on their own. Enabling this option will make Vite skip the token check.
We do not recommend enabling this option unless you are sure that you are fine with that security weakness.