feat: fix storage provider

This commit is contained in:
Nevo David 2024-10-07 20:20:51 +07:00
parent c9af76224f
commit 2aaac8633b
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export default async function AppLayout({ children }: { children: ReactNode }) {
</head>
<body className={clsx(chakra.className, 'text-primary dark')}>
<VariableContextComponent
storageProvider={process.env.NEXT_PUBLIC_STORAGE_PROVIDER! as 'local' | 'cloudflare'}
storageProvider={process.env.STORAGE_PROVIDER! as 'local' | 'cloudflare'}
backendUrl={process.env.NEXT_PUBLIC_BACKEND_URL!}
plontoKey={process.env.NEXT_PUBLIC_POLOTNO!}
billingEnabled={!!process.env.STRIPE_PUBLISHABLE_KEY}