@tablation/crew 0.128.1 → 0.128.2
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/dist/cli.js +4 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -15869,6 +15869,9 @@ function rejectedTunnels(stateDir) {
|
|
|
15869
15869
|
}
|
|
15870
15870
|
|
|
15871
15871
|
// src/pool-member-host.ts
|
|
15872
|
+
function platformBaseUrl(poolUrl) {
|
|
15873
|
+
return poolUrl.trim().replace(/\/+$/, "").replace(/\/api$/i, "");
|
|
15874
|
+
}
|
|
15872
15875
|
function loadShip(crewHome) {
|
|
15873
15876
|
try {
|
|
15874
15877
|
return loadConfig(crewHome, void 0, { allowNoRoutes: true });
|
|
@@ -15902,7 +15905,7 @@ function realPoolMemberDeps(o) {
|
|
|
15902
15905
|
instanceClass,
|
|
15903
15906
|
relayHost: lease.relayHost,
|
|
15904
15907
|
maxConcurrentAgents: lease.maxConcurrentAgents,
|
|
15905
|
-
baseUrl: o.platformUrl,
|
|
15908
|
+
baseUrl: platformBaseUrl(o.platformUrl),
|
|
15906
15909
|
forgeHosts: hosts,
|
|
15907
15910
|
tokens: Object.fromEntries(lease.forges.map((f) => [f.host.toLowerCase(), f.token])),
|
|
15908
15911
|
json: false,
|
package/package.json
CHANGED