docsify-cli icon indicating copy to clipboard operation
docsify-cli copied to clipboard

livereload script pointed to local IP

Open lazuardi1981 opened this issue 5 years ago • 4 comments

I am using docsify-cli, and run from docker, and route to the docker server from separate server using reverse proxy.

I found livereload is injected to index as follow.

<script src="//$server_ip$:35729/livereload.js?snipver=1" async="" defer=""></script>

of course it could not be found because $server_ip$ is local IP.

Screen Shot 2020-09-09 at 12 06 29

is there any countermeasure for this?

lazuardi1981 avatar Sep 09 '20 05:09 lazuardi1981

same issue here. any solution?

maschinensehen avatar Jul 05 '21 16:07 maschinensehen

I too wonder why the live reload isn't working when using devcontainers. See code @alertbox/devcontainers-try-docsify. It appears to be the live reload works if exposed according to https://github.com/docsifyjs/docsify-cli/issues/26 but the container is exposed via docsify serve . -P 3000.

kosperera avatar Mar 25 '23 07:03 kosperera