mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-10 22:32:51 +08:00
feat: add ENABLE_MCP env var to toggle MCP feature globally and in Docker
This commit is contained in:
@@ -5,9 +5,8 @@ import "./styles/highlight.scss";
|
||||
import { getClientConfig } from "./config/client";
|
||||
import type { Metadata, Viewport } from "next";
|
||||
import { SpeedInsights } from "@vercel/speed-insights/next";
|
||||
import { getServerSideConfig } from "./config/server";
|
||||
import { GoogleTagManager, GoogleAnalytics } from "@next/third-parties/google";
|
||||
const serverConfig = getServerSideConfig();
|
||||
import { getServerSideConfig } from "./config/server";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "NextChat",
|
||||
@@ -33,6 +32,8 @@ export default function RootLayout({
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
const serverConfig = getServerSideConfig();
|
||||
|
||||
return (
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
Reference in New Issue
Block a user