Revert "Fixed the remaining Manager runtime coupling."

This reverts commit bc45608023.
This commit is contained in:
Stefan Lazic committed 2026-09-05 09:32:23 +01:00
1 parent 65d2c7322b
commit 3e9fe60faf
11 files changed
+17 -161

No files matched your search

+1 -15
View File
@@ -1,4 +1,5 @@
import type { MetadataRoute } from "next";
import { getBranding } from "@/lib/business/branding";
/**
* Next.js's manifest file convention — auto-served at /manifest.webmanifest
@@ -25,21 +26,6 @@ import type { MetadataRoute } from "next";
export const dynamic = "force-dynamic";
export default async function manifest(): Promise<MetadataRoute.Manifest> {
if (process.env.MANAGER_MODE === "true") {
return {
name: "NextChair Manager",
short_name: "Manager",
description: "Manage NextChair business deployments.",
start_url: "/manager",
scope: "/",
display: "standalone",
background_color: "#f4f6f4",
theme_color: "#111b15",
orientation: "portrait-primary",
icons: [{ src: "/icons/icon-192.png", sizes: "192x192", type: "image/png" }],
};
}
const { getBranding } = await import("@/lib/business/branding");
const branding = await getBranding();
return {
name: branding.name,