Skip to content

Commit

Permalink
Fixed livereloading.js still using :8002, even though it's :8001 now
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Oct 4, 2021
1 parent 13514bd commit 65fb532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/IHP/static/livereload.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 65fb532

Please sign in to comment.