diff --git a/apps/dashboard/next.config.mjs b/apps/dashboard/next.config.mjs index 42bacd0e85..e987c2a4b6 100644 --- a/apps/dashboard/next.config.mjs +++ b/apps/dashboard/next.config.mjs @@ -4,7 +4,7 @@ import "./src/env.mjs"; const config = { reactStrictMode: true, experimental: { - ppr: true, + // ppr: true, }, images: { remotePatterns: [ diff --git a/apps/dashboard/package.json b/apps/dashboard/package.json index c2e949d751..8b8daae873 100644 --- a/apps/dashboard/package.json +++ b/apps/dashboard/package.json @@ -28,7 +28,7 @@ "@zip.js/zip.js": "^2.7.31", "change-case": "^5.2.0", "framer-motion": "^10.16.8", - "next": "14.0.4-canary.28", + "next": "14.0.3", "next-international": "^1.1.4", "next-safe-action": "^5.2.0", "next-themes": "^0.2.1", diff --git a/apps/website/next.config.mjs b/apps/website/next.config.mjs index 6648940376..5f5b034aa1 100644 --- a/apps/website/next.config.mjs +++ b/apps/website/next.config.mjs @@ -3,7 +3,7 @@ const config = { reactStrictMode: true, transpilePackages: ["@midday/ui", "@midday/tailwind", "@midday/location"], experimental: { - ppr: true, + // ppr: true, }, eslint: { ignoreDuringBuilds: true, diff --git a/apps/website/package.json b/apps/website/package.json index dd426f434c..0411361954 100644 --- a/apps/website/package.json +++ b/apps/website/package.json @@ -15,7 +15,7 @@ "@midday/location": "workspace:*", "@midday/ui": "workspace:*", "@vercel/analytics": "^1.1.1", - "next": "14.0.4-canary.28", + "next": "14.0.2", "next-international": "^1.1.4", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/apps/website/src/components/header.tsx b/apps/website/src/components/header.tsx index 5dfc11a304..e0ba0c806a 100644 --- a/apps/website/src/components/header.tsx +++ b/apps/website/src/components/header.tsx @@ -12,7 +12,7 @@ export function Header() { className="pt-4 pb-4 md:pt-10 md:pb-5 flex justify-between px-5 lg:px-10 backdrop-filter backdrop-blur-2xl z-[999]" style={{ background: "rgba(18, 18, 18,.8)" }} > - + diff --git a/apps/website/src/middleware.ts b/apps/website/src/middleware.ts index 7bf3f8e3a0..dff7344eeb 100644 --- a/apps/website/src/middleware.ts +++ b/apps/website/src/middleware.ts @@ -11,5 +11,7 @@ export function middleware(request: NextRequest) { } export const config = { - matcher: ["/((?!.*\\.|api|_next/static|_next/image|favicon.ico|auth\\/).*)"], + matcher: [ + "/((?!.*\\.|api|_next/static|_next/image|favicon.ico||robots.txt|auth\\/).*)", + ], }; diff --git a/bun.lockb b/bun.lockb index 2e48d9d583..6259a98f47 100755 Binary files a/bun.lockb and b/bun.lockb differ