From b46243d33b74c646557b7041756bb267616378a6 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 4 Oct 2026 02:36:31 +0000 Subject: [PATCH] chore: allow local ApplyOS hosts in Next.js dev Clerk production keys only accept the applyos.me origin, and Next.js blocks dev assets from that host unless it is listed in allowedDevOrigins. Co-authored-by: Brian Moir --- next.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/next.config.ts b/next.config.ts index b81e2e0..609696c 100644 --- a/next.config.ts +++ b/next.config.ts @@ -8,6 +8,9 @@ const nextConfig: NextConfig = { turbopack: { root: projectRoot, }, + // Next.js blocks dev assets from non-localhost hosts. Clerk production + // keys only accept the applyos.me origin. + allowedDevOrigins: ["applyos.me", "dev.applyos.me", "127.0.0.1", "localhost"], }; export default nextConfig;