这是一个创建于 502 天前的主题,其中的信息可能已经有所发展或是发生改变。
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.
2 条回复 2024-06-23 23:17:29 +08:00  | | 1 A3m0n 2024-06-17 16:01:04 +08:00 看看有没有 iframe 。 |
 | | 2 zhhbstudio 2024-06-23 23:17:29 +08:00 根据之前的经验,有人在服务器上用的 npm run dev ... npm run build 之后,把 dist 目录下的文件甩过去就行了。然后 nginx 配置 root 指向 dist 目录。如果路由用的 history 模式,请相应调整 nginx 配置。 |