feat: add baseos image builds

This commit is contained in:
2026-05-07 17:44:31 +00:00
parent be7735a9c3
commit b0f0963143
7 changed files with 667 additions and 0 deletions
+6
View File
@@ -121,6 +121,12 @@ export class CloudlyServer {
await this.cloudlyRef.baseOsManager.handleHeartbeatHttpRequest(req, res);
}),
);
this.typedServer.server.addRoute(
'/baseos/v1/images/:buildId/download',
new plugins.typedserver.servertools.Handler('GET', async (req, res) => {
await this.cloudlyRef.baseOsManager.handleImageDownloadHttpRequest(req, res);
}),
);
await this.typedServer.start();
}