diff --git a/src/pages/_api/api/index-supply.ts b/src/pages/_api/api/index-supply.ts index 38b3927c..e8f7c401 100644 --- a/src/pages/_api/api/index-supply.ts +++ b/src/pages/_api/api/index-supply.ts @@ -115,7 +115,7 @@ export async function OPTIONS(request: Request): Promise { } function cors(origin: string | null): Record { - const allowedOrigins = ['https://docs.tempo.xyz'] + const allowedOrigins = ['https://docs.tempo.xyz', 'https://mainnet.docs.tempo.xyz'] if (origin?.includes('vercel.app')) allowedOrigins.push(origin) if (process.env.NODE_ENV === 'development') allowedOrigins.push('http://localhost:5173') diff --git a/vercel.json b/vercel.json index c84e5c27..2c687922 100644 --- a/vercel.json +++ b/vercel.json @@ -33,4 +33,4 @@ "destination": "https://us.i.posthog.com/:path" } ] -} \ No newline at end of file +}