feat(runtime): add isolated same-origin canary gateway

This commit is contained in:
chick
2026-07-18 04:54:21 +08:00
parent cc8eb0f54b
commit 9451e1ee42
6 changed files with 631 additions and 2 deletions
+8
View File
@@ -8,6 +8,14 @@ export {
export type { BuildAppOptions, ListenEnvironment, ListenOptions, ReadinessResult } from './app.js';
export { startApi } from './start.js';
export type { StartApiOptions } from './start.js';
export {
CANARY_DEFAULT_HOST,
CANARY_DEFAULT_PORT,
CANARY_DEFAULT_UPSTREAM_HOST,
CANARY_DEFAULT_UPSTREAM_PORT,
createCanaryGateway,
} from './canary-gateway.js';
export type { CanaryGateway, CanaryGatewayOptions } from './canary-gateway.js';
export { backupDatabase, restoreDatabase } from './infrastructure/database/backup.js';
export { openDatabase } from './infrastructure/database/database.js';
export {