Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

fix(config): keep tenant config path traceable by Turbopack

Abdurrahman Fakhrulb9d1e7e13232
diff --git a/lib/config/store.ts b/lib/config/store.ts
index 811a7b2d..6198dc39 100644
--- a/lib/config/store.ts
+++ b/lib/config/store.ts
@@ -79,7 +79,7 @@ function recordDelete<T>(record: Record<string, T> | undefined, key: string): Re
export async function readConfig(tenant?: string): Promise<OsConfig> {
try {
- return JSON.parse(await fs.readFile(configPath(tenant), "utf8")) as OsConfig;
+ return JSON.parse(await fs.readFile(/* turbopackIgnore: true */ configPath(tenant), "utf8")) as OsConfig;
} catch {
return {};
}