feat(hosts): manage servers and encrypted SSH credentials in UI (#7)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { hostsPlugin } from "./hosts";
|
||||
import Fastify, { type FastifyInstance } from "fastify";
|
||||
import websocket from "@fastify/websocket";
|
||||
import { loadConfig, type ServerConfig } from "./config";
|
||||
@@ -39,6 +40,7 @@ export async function buildApp(options: AppOptions = {}): Promise<FastifyInstanc
|
||||
if (options.auth !== false) await registerAuth(app, { dataDir: config.dataDir, ...options.auth });
|
||||
await app.register(websocket);
|
||||
await app.register(workspacePlugin, { config });
|
||||
await app.register(hostsPlugin, { config });
|
||||
await app.register(runsPlugin, { config, hub });
|
||||
await app.register(terminalPlugin, { ...options.terminal, workspaceDir: config.workspaceDir });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user