mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 06:05:24 +00:00
12 lines
350 B
TypeScript
12 lines
350 B
TypeScript
import type { PluginContext } from "@termix/plugin-sdk/backend";
|
|
import { startTailscaleService, stopTailscaleService } from "./routes.js";
|
|
|
|
export async function activate(ctx: PluginContext) {
|
|
startTailscaleService();
|
|
ctx.log.info("Tailscale router registered at /tailscale");
|
|
}
|
|
|
|
export async function deactivate() {
|
|
stopTailscaleService();
|
|
}
|