@11ty/eleventy-dev-server
Advanced tools
Comparing version 1.0.0-canary.8 to 1.0.0-canary.9
@@ -157,6 +157,6 @@ class Util { | ||
let { protocol, port } = new URL(document.location.href); | ||
let { protocol, host } = new URL(document.location.href); | ||
let websocketProtocol = protocol.replace("http", "ws"); | ||
// TODO add a path here so that it doesn’t collide with any app websockets | ||
let socket = new WebSocket(`${websocketProtocol}//localhost:${port}`); | ||
let socket = new WebSocket(`${websocketProtocol}//${host}`); | ||
@@ -163,0 +163,0 @@ // TODO add special handling for disconnect or document focus to retry |
{ | ||
"name": "@11ty/eleventy-dev-server", | ||
"version": "1.0.0-canary.8", | ||
"version": "1.0.0-canary.9", | ||
"description": "A minimal, modern, generic, hot-reloading local web server to help web developers.", | ||
@@ -5,0 +5,0 @@ "main": "server.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28008