Bump Onebox to 1.24.3 with current API/runtime dependencies, registry routing fixes, safer initial admin handling, and cleaner shutdown of Docker-backed resources.
This commit is contained in:
@@ -74,6 +74,16 @@ export class OpsServer {
|
||||
}
|
||||
|
||||
private registerCustomRoutes(): void {
|
||||
this.server.typedserver.addRoute(
|
||||
'/v2',
|
||||
'ALL',
|
||||
async (ctx) => this.oneboxRef.registry.handleRequest(ctx.request),
|
||||
);
|
||||
this.server.typedserver.addRoute(
|
||||
'/v2/*',
|
||||
'ALL',
|
||||
async (ctx) => this.oneboxRef.registry.handleRequest(ctx.request),
|
||||
);
|
||||
this.server.typedserver.addRoute(
|
||||
'/backups/:backupId/download',
|
||||
'GET',
|
||||
|
||||
Reference in New Issue
Block a user