mirror of
https://github.com/tale/headplane.git
synced 2026-08-16 16:28:21 +00:00
5e60ac1208
Check if command line also includes 'serve'. Move command line processing logic into a helper function.
4 lines
135 B
TypeScript
4 lines
135 B
TypeScript
export function isHeadscaleServeCmd(cmdline: string): boolean {
|
|
return cmdline.includes('headscale') && cmdline.includes("serve");
|
|
}
|