feat: add baseos image builds
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user