@web/dev-server-core
Advanced tools
Comparing version 0.3.9 to 0.3.10
# @web/dev-server-core | ||
## 0.3.10 | ||
### Patch Changes | ||
- 780a3520: Use http2 config for websocket protocol check | ||
## 0.3.9 | ||
@@ -4,0 +10,0 @@ |
@@ -14,3 +14,3 @@ "use strict"; | ||
var _a; | ||
origin = `ws${config.sslCert ? 's' : ''}://${(_a = config.hostname) !== null && _a !== void 0 ? _a : 'localhost'}:${config.port}`; | ||
origin = `ws${config.http2 ? 's' : ''}://${(_a = config.hostname) !== null && _a !== void 0 ? _a : 'localhost'}:${config.port}`; | ||
}, | ||
@@ -17,0 +17,0 @@ resolveImport({ source }) { |
{ | ||
"name": "@web/dev-server-core", | ||
"version": "0.3.9", | ||
"version": "0.3.10", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
@@ -14,3 +14,3 @@ import { Plugin } from '../plugins/Plugin'; | ||
serverStart({ config }) { | ||
origin = `ws${config.sslCert ? 's' : ''}://${config.hostname ?? 'localhost'}:${config.port}`; | ||
origin = `ws${config.http2 ? 's' : ''}://${config.hostname ?? 'localhost'}:${config.port}`; | ||
}, | ||
@@ -17,0 +17,0 @@ |
Sorry, the diff of this file is not supported yet
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
288914