fix(config): update hostname for API and add Google Analytics endpoints to CSP
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user