fix(config): update hostname for API and add Google Analytics endpoints to CSP

This commit is contained in:
hamed
2026-06-25 20:52:09 +03:30
parent f87110c277
commit 09373c46d6
2 changed files with 8 additions and 6 deletions
-4
View File
@@ -2,7 +2,6 @@ import "./globals.css";
import ThemeRegistry from "./component/ThemeRegistry";
import { Providers } from "./Providers";
import { GoogleAnalytics } from "@next/third-parties/google";
import { GoogleTagManager } from "@next/third-parties/google";
import "react-toastify/dist/ReactToastify.css";
import CustomToastify from "./CustomToastify";
import { ProvinceProvider } from "@/context/ProvinceProvider";
@@ -112,9 +111,6 @@ export default async function RootLayout({ children }) {
/>
</head>
<ThemeRegistry>
{process.env.DEV_MODE === 'FALSE' && (
<GoogleTagManager gtmId="GTM-NXBSV7GS" />
)}
<body className="bg-[#FAFAFA]">
<ProvinceProvider>
<Providers>{children}</Providers>