From 5c1a68c4d59053df07757d13e379dfa799a1901f Mon Sep 17 00:00:00 2001 From: Dimitri POSTOLOV Date: Mon, 24 Aug 2026 13:13:18 -0400 Subject: [PATCH] fix(ok/docs): remove Warning: Next.js inferred your workspace root, but it may not be correct. (#3821) * fix * Apply suggestion from @claude[bot] --------- GitOrigin-RevId: 980bc62db77bf3135fe160f27f395469a7aefa8a --- docs/next.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/next.config.ts b/docs/next.config.ts index c3fdad85a..195235561 100644 --- a/docs/next.config.ts +++ b/docs/next.config.ts @@ -14,6 +14,10 @@ const nextConfig: NextConfig = { // Fail the build on any compiler diagnostic panicThreshold: 'all_errors', }, + turbopack: { + // Fix Warning: Next.js inferred your workspace root, but it may not be correct. + root: fileURLToPath(new URL('..', import.meta.url)), + }, // PostHog ingestion is proxied through this origin (api_host: '/ingest' in // instrumentation-client.ts) so ad-blockers don't drop analytics requests. // skipTrailingSlashRedirect keeps PostHog's trailing-slash routes reachable