diff --git a/src/interface/web/app/agents/layout.tsx b/src/interface/web/app/agents/layout.tsx index c7779b06..5749ef4c 100644 --- a/src/interface/web/app/agents/layout.tsx +++ b/src/interface/web/app/agents/layout.tsx @@ -1,6 +1,7 @@ import type { Metadata } from "next"; import { noto_sans, noto_sans_arabic } from "@/app/fonts"; import "../globals.css"; +import { ContentSecurityPolicy } from "../common/layoutHelper"; export const metadata: Metadata = { title: "Khoj AI - Agents", @@ -32,18 +33,7 @@ export default function RootLayout({ }>) { return ( - + {children} ); diff --git a/src/interface/web/app/automations/layout.tsx b/src/interface/web/app/automations/layout.tsx index 05686bef..aca8ec50 100644 --- a/src/interface/web/app/automations/layout.tsx +++ b/src/interface/web/app/automations/layout.tsx @@ -2,6 +2,7 @@ import type { Metadata } from "next"; import { Toaster } from "@/components/ui/toaster"; import "../globals.css"; +import { ContentSecurityPolicy } from "../common/layoutHelper"; export const metadata: Metadata = { title: "Khoj AI - Automations", @@ -32,9 +33,12 @@ export default function RootLayout({ children: React.ReactNode; }>) { return ( -
- {children} - -
+ + + + {children} + + + ); } diff --git a/src/interface/web/app/chat/layout.tsx b/src/interface/web/app/chat/layout.tsx index 4e4661f1..83778d80 100644 --- a/src/interface/web/app/chat/layout.tsx +++ b/src/interface/web/app/chat/layout.tsx @@ -1,6 +1,7 @@ import type { Metadata } from "next"; import { noto_sans, noto_sans_arabic } from "@/app/fonts"; import "../globals.css"; +import { ContentSecurityPolicy } from "../common/layoutHelper"; export const metadata: Metadata = { title: "Khoj AI - Chat", @@ -33,18 +34,7 @@ export default function RootLayout({ }>) { return ( - + {children}