mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-18 11:31:20 +08:00
Previously, I was getting this error in the JS console: ``` livereload.js:2232 Mixed Content: The page at 'https://DOMAIN/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://DOMAIN:443/_lr/livereload'. This request has been blocked; this endpoint must be available over WSS. ```` Adding a `https: true` option seems to fix the problem when running the local server over an https proxy. (It'll be marked as `false` when the protocol isn't https.) This isn't just a warning, opening `/tests` is delayed about 10-20 seconds. --------- Co-authored-by: Jarek Radosz <jradosz@gmail.com> |
||
|---|---|---|
| .. | ||
| .npmrc | ||
| index.js | ||
| package.json | ||