Split session daemon from web server

This commit is contained in:
Federico Jaramillo Martinez
2026-05-07 13:12:48 +02:00
parent fa55723246
commit 2ffff85313
9 changed files with 272 additions and 93 deletions
+10
View File
@@ -0,0 +1,10 @@
import { homedir } from "node:os";
import { join } from "node:path";
export function sessiondSocketPath(): string {
return process.env.PI_WEB_SESSIOND_SOCKET ?? join(homedir(), ".pi-web", "sessiond.sock");
}
export function sessiondHttpUrl(): string | undefined {
return process.env.PI_WEB_SESSIOND_URL;
}