diff options
| author | enkei64 <imenkei64@gmail.com> | 2025-07-16 19:07:33 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-16 19:07:33 +1000 |
| commit | 0cb26ef088d7b813bef4fd702ac26b813f1a9db1 (patch) | |
| tree | da9042be04762fda283df64a4684e1cf3644b301 /apps/web/src/app/layout.tsx | |
| parent | 7c6b2e4f499a9878b641bac5692f5a2ee884d125 (diff) | |
| parent | 27731a270dec7f854876157fac790d998b3b6a8c (diff) | |
| download | opencut-0cb26ef088d7b813bef4fd702ac26b813f1a9db1.tar.gz | |
Merge branch 'OpenCut-app:main' into feat/display-all-contributors
Diffstat (limited to 'apps/web/src/app/layout.tsx')
| -rw-r--r-- | apps/web/src/app/layout.tsx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx index 9ac54262..1cbc3f2e 100644 --- a/apps/web/src/app/layout.tsx +++ b/apps/web/src/app/layout.tsx @@ -7,9 +7,17 @@ import { TooltipProvider } from "../components/ui/tooltip"; import { StorageProvider } from "../components/storage-provider"; import { baseMetaData } from "./metadata"; import { defaultFont } from "../lib/font-config"; +import { BotIdClient } from "botid/client"; export const metadata = baseMetaData; +const protectedRoutes = [ + { + path: "/api/waitlist", + method: "POST", + }, +]; + export default function RootLayout({ children, }: Readonly<{ @@ -17,6 +25,9 @@ export default function RootLayout({ }>) { return ( <html lang="en" suppressHydrationWarning> + <head> + <BotIdClient protect={protectedRoutes} /> + </head> <body className={`${defaultFont.className} font-sans antialiased`}> <ThemeProvider attribute="class" forcedTheme="dark"> <TooltipProvider> |
