camstack 1.2.107 → 1.2.108
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
CHANGED
|
@@ -38,7 +38,7 @@ async function runServe(args) {
|
|
|
38
38
|
...typeof values.data === "string" ? { data: values.data } : {}
|
|
39
39
|
};
|
|
40
40
|
Object.assign(process.env, buildServeEnv(opts));
|
|
41
|
-
await import("./launcher-
|
|
41
|
+
await import("./launcher-4UETVHGT.js");
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
// src/commands/agent.ts
|
|
@@ -83,7 +83,7 @@ async function runAgent(args) {
|
|
|
83
83
|
...typeof values.port === "string" ? { port: values.port } : {}
|
|
84
84
|
};
|
|
85
85
|
Object.assign(process.env, buildAgentEnv(opts));
|
|
86
|
-
await import("./launcher-
|
|
86
|
+
await import("./launcher-4UETVHGT.js");
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
// src/commands/setup.ts
|
|
@@ -414205,8 +414205,8 @@ var require_spa_mount = __commonJS({
|
|
|
414205
414205
|
} catch {
|
|
414206
414206
|
return reply.status(503).send({ error: "Admin UI shell unavailable" });
|
|
414207
414207
|
}
|
|
414208
|
-
const prefix = parseForwardedPrefix(headers[exports.FORWARDED_PREFIX_HEADER]);
|
|
414209
|
-
return reply.type("text/html").send(
|
|
414208
|
+
const prefix = parseForwardedPrefix(headers[exports.FORWARDED_PREFIX_HEADER]) ?? "";
|
|
414209
|
+
return reply.type("text/html").send(injectSpaMount(html, prefix));
|
|
414210
414210
|
}
|
|
414211
414211
|
}
|
|
414212
414212
|
});
|