diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-07-16 12:22:15 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-07-16 12:22:15 +0200 |
| commit | 96f7516c94cc922519e5369ef132b62d9a52e85c (patch) | |
| tree | b6363cb3cdc0d9b5329bcbc39d9616be0d1b25cd /apps/web/src/app/layout.tsx | |
| parent | a7e23ec714faabbeaa3b6a673e7e2d86825944bd (diff) | |
| parent | ccca2e8d0f94847c3877202d2940bcf57c327dbc (diff) | |
| download | opencut-96f7516c94cc922519e5369ef132b62d9a52e85c.tar.gz | |
Merge branch 'staging' of https://github.com/mazeincoding/AppCut into staging
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> |
