Mixed Content: The page at 'https://**.**/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://10.0.20.2:8080/ws'. This request has been blocked; this endpoint must be available over WSS.
1
A3m0n Jun 17, 2024
看看有没有 iframe 。
|
2
zhhbstudio Jun 23, 2024
根据之前的经验,有人在服务器上用的 npm run dev ...
npm run build 之后,把 dist 目录下的文件甩过去就行了。然后 nginx 配置 root 指向 dist 目录。如果路由用的 history 模式,请相应调整 nginx 配置。 |