Revert "Fixed the Manager deployment database dependency."

This reverts commit a8cdc2671e.
This commit is contained in:
Stefan Lazic committed 2026-09-05 09:32:28 +01:00
1 parent d063918aae
commit 7e70fa0583
3 files changed
+10 -92

No files matched your search

+1 -18
View File
@@ -1,6 +1,7 @@
import type { Metadata, Viewport } from "next";
import { Inter } from "next/font/google";
import { Providers } from "@/components/providers";
import { getBranding } from "@/lib/business/branding";
import "./globals.css";
const inter = Inter({
@@ -17,13 +18,6 @@ const inter = Inter({
* than "NextChair" (see that file's own fallback-order comment).
*/
export async function generateMetadata(): Promise<Metadata> {
if (process.env.MANAGER_MODE === "true") {
return {
title: { default: "NextChair Manager", template: "%s | NextChair Manager" },
description: "Manage NextChair business deployments.",
};
}
const { getBranding } = await import("@/lib/business/branding");
const branding = await getBranding();
return {
@@ -47,17 +41,6 @@ export async function generateMetadata(): Promise<Metadata> {
}
export async function generateViewport(): Promise<Viewport> {
if (process.env.MANAGER_MODE === "true") {
return {
width: "device-width",
initialScale: 1,
maximumScale: 1,
userScalable: false,
viewportFit: "cover",
themeColor: "#111b15",
};
}
const { getBranding } = await import("@/lib/business/branding");
const branding = await getBranding();
return {
width: "device-width",