querysub 0.135.0 → 0.137.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
|
@@ -37,17 +37,6 @@ let yargObj = yargs(process.argv)
|
|
|
37
37
|
setIsDeploy();
|
|
38
38
|
|
|
39
39
|
export async function deployMain() {
|
|
40
|
-
if (true as boolean) {
|
|
41
|
-
// Mount, so we can write directly to the database
|
|
42
|
-
await SocketFunction.mount({ port: 0, ...await getThreadKeyCert(), public: isPublic() });
|
|
43
|
-
|
|
44
|
-
await setLiveDeployedHash({ hash: "7b94606dc1de8d03acb8b23952ff5d49e716a45e", refreshThresholdTime: 0, });
|
|
45
|
-
//await setLiveDeployedHash({ hash: "4cba43649682967bf1ff919d941820bea6719ef7", refreshThresholdTime: 0, });
|
|
46
|
-
console.log(magenta(`SHUTTING DOWN`));
|
|
47
|
-
await shutdown();
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
40
|
//SocketFunction.logMessages = true;
|
|
52
41
|
//quietCoreMode();
|
|
53
42
|
//ClientWatcher.DEBUG_READS = true;
|
|
@@ -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)}`);
|