querysub 0.135.0 → 0.136.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -323,6 +323,10 @@ async function edgeNodeFunction(config: {
|
|
|
323
323
|
// though, as we need to know the entryPaths to import)
|
|
324
324
|
{
|
|
325
325
|
let curHost = document.location.host;
|
|
326
|
+
// Always include the port
|
|
327
|
+
if (!curHost.includes(":")) {
|
|
328
|
+
curHost += ":443";
|
|
329
|
+
}
|
|
326
330
|
let exactNode = edgeNodes.find(x => x.host === curHost);
|
|
327
331
|
if (exactNode) {
|
|
328
332
|
console.log(`MATCH exact host: ${getNodeDebugString(exactNode)}`);
|