querysub 0.717.0 → 0.718.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
|
@@ -8,6 +8,10 @@ import { FindConfig } from "sliftutils/storage/IArchives";
|
|
|
8
8
|
|
|
9
9
|
export const STORAGE_ACCOUNT = "root";
|
|
10
10
|
|
|
11
|
+
const STORE_NAME_HOSTNAMES: { [hostname: string]: string | undefined } = {
|
|
12
|
+
"99-255-70-23.querysubtest.com": "99-250-124-91.querysubtest.com",
|
|
13
|
+
};
|
|
14
|
+
|
|
11
15
|
|
|
12
16
|
function createSourceWindows(
|
|
13
17
|
overrides: Partial<RemoteConfigBase>,
|
|
@@ -60,7 +64,7 @@ function archiveBuilder(bucket: string, overrides: Partial<RemoteConfigBase>) {
|
|
|
60
64
|
url: currentUrls[i],
|
|
61
65
|
route: [routeStart, routeEnd],
|
|
62
66
|
// IMPORTANT! name decides where our files are stored. We can't have two things writing to the same folder at the same time. But it also means if we reuse the name, then it has to be the same data.
|
|
63
|
-
name: url.hostname.replaceAll(/[^a-z0-9-]/g, "_") + "_v" + config.routeVersion + "_" + routeStart + "_" + routeEnd,
|
|
67
|
+
name: (STORE_NAME_HOSTNAMES[url.hostname] || url.hostname).replaceAll(/[^a-z0-9-]/g, "_") + "_v" + config.routeVersion + "_" + routeStart + "_" + routeEnd,
|
|
64
68
|
});
|
|
65
69
|
}
|
|
66
70
|
}
|
|
@@ -91,7 +95,7 @@ function archiveBuilder(bucket: string, overrides: Partial<RemoteConfigBase>) {
|
|
|
91
95
|
]);
|
|
92
96
|
|
|
93
97
|
return createArchives({
|
|
94
|
-
version:
|
|
98
|
+
version: 31,
|
|
95
99
|
sources,
|
|
96
100
|
});
|
|
97
101
|
}
|