@kubb/cli 4.21.1 → 4.21.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/{generate-CQPvBYQM.js → generate-DgWO-YRb.js} +4 -4
- package/dist/{generate-CQPvBYQM.js.map → generate-DgWO-YRb.js.map} +1 -1
- package/dist/{generate-ZQmGWQph.cjs → generate-R5HtGqSp.cjs} +4 -4
- package/dist/{generate-ZQmGWQph.cjs.map → generate-R5HtGqSp.cjs.map} +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.js +4 -4
- package/dist/{init-BwAMwufQ.cjs → init-B7j_UJk9.cjs} +2 -2
- package/dist/{init-BwAMwufQ.cjs.map → init-B7j_UJk9.cjs.map} +1 -1
- package/dist/{init-alYt055j.js → init-C9XEA7L6.js} +2 -2
- package/dist/{init-alYt055j.js.map → init-C9XEA7L6.js.map} +1 -1
- package/dist/{package-DlWy5In7.cjs → package-C1biCSPI.cjs} +2 -2
- package/dist/package-C1biCSPI.cjs.map +1 -0
- package/dist/package-DRskcFXO.js +6 -0
- package/dist/package-DRskcFXO.js.map +1 -0
- package/package.json +4 -4
- package/src/utils/streamServer.ts +2 -2
- package/dist/package-CtmFDRp6.js +0 -6
- package/dist/package-CtmFDRp6.js.map +0 -1
- package/dist/package-DlWy5In7.cjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __name } from "./chunk-jHaXqnEa.js";
|
|
2
|
-
import { t as version } from "./package-
|
|
2
|
+
import { t as version } from "./package-DRskcFXO.js";
|
|
3
3
|
import { defineCommand, showUsage } from "citty";
|
|
4
4
|
import path, { relative, resolve } from "node:path";
|
|
5
5
|
import * as process$2 from "node:process";
|
|
@@ -1637,7 +1637,7 @@ async function startStreamServer({ port, host, configPath, config, input, args }
|
|
|
1637
1637
|
res.end();
|
|
1638
1638
|
return;
|
|
1639
1639
|
}
|
|
1640
|
-
if (req.url === "/health" && req.method === "GET") {
|
|
1640
|
+
if (req.url === "/api/health" && req.method === "GET") {
|
|
1641
1641
|
res.writeHead(200, { "Content-Type": "application/json" });
|
|
1642
1642
|
const body = {
|
|
1643
1643
|
status: "ok",
|
|
@@ -1693,7 +1693,7 @@ async function startStreamServer({ port, host, configPath, config, input, args }
|
|
|
1693
1693
|
clack.log.info(pc.dim(`Config: ${path.relative(process$1.cwd(), configPath)}`));
|
|
1694
1694
|
clack.log.info(pc.dim(`Connect: ${serverUrl}/api/info`));
|
|
1695
1695
|
clack.log.info(pc.dim(`Stream: ${serverUrl}/api/stream`));
|
|
1696
|
-
clack.log.info(pc.dim(`Health: ${serverUrl}/health`));
|
|
1696
|
+
clack.log.info(pc.dim(`Health: ${serverUrl}/api/health`));
|
|
1697
1697
|
clack.log.step(pc.yellow("Waiting for requests... (Press Ctrl+C to stop)"));
|
|
1698
1698
|
});
|
|
1699
1699
|
process$1.on("SIGINT", () => {
|
|
@@ -1891,4 +1891,4 @@ var generate_default = command;
|
|
|
1891
1891
|
|
|
1892
1892
|
//#endregion
|
|
1893
1893
|
export { generate_default as default };
|
|
1894
|
-
//# sourceMappingURL=generate-
|
|
1894
|
+
//# sourceMappingURL=generate-DgWO-YRb.js.map
|