Revert "Fixed the Manager deployment database dependency."
This reverts commit a8cdc2671e.
This commit is contained in:
3 files changed
+10
-92
No files matched your search
+1
-18
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user