From 65fb532a9149f812b59d66b1dcc5a8180203997b Mon Sep 17 00:00:00 2001 From: Marc Scholten Date: Mon, 4 Oct 2021 14:52:44 +0200 Subject: [PATCH] Fixed livereloading.js still using :8002, even though it's :8001 now --- lib/IHP/static/livereload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/IHP/static/livereload.js b/lib/IHP/static/livereload.js index 38888762d..a623c6307 100644 --- a/lib/IHP/static/livereload.js +++ b/lib/IHP/static/livereload.js @@ -79,7 +79,7 @@ function getLiveReloadWSUrl() { return script.dataset.ws; } - var port = (parseInt(document.location.port, 10) || 8000) + 2; + var port = (parseInt(document.location.port, 10) || 8000) + 1; return "ws://localhost:" + port; }