mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 14:15:24 +00:00
12 lines
375 B
TypeScript
12 lines
375 B
TypeScript
import type { PluginContext } from "@termix/plugin-sdk/backend";
|
|
import { startWebEndpointService, stopWebEndpointService } from "./routes.js";
|
|
|
|
export async function activate(ctx: PluginContext) {
|
|
startWebEndpointService();
|
|
ctx.log.info("Web Endpoint router registered at /ssh/tunnel/web-endpoint");
|
|
}
|
|
|
|
export async function deactivate() {
|
|
stopWebEndpointService();
|
|
}
|