chore: allow url

This commit is contained in:
Ephraim Atta-Duncan
2024-10-23 18:49:22 +00:00
parent 6bd74d26d1
commit 098d6fda24

View File

@@ -6,7 +6,7 @@ type RouteHandler<T = Record<string, string | string[]>> = (
ctx: { params: T },
) => Promise<Response> | Response;
const ALLOWED_ORIGINS = new Set(['documenso.com']);
const ALLOWED_ORIGINS = new Set(['documenso.com', 'prd-openpage-api.vercel.app']);
const CORS_HEADERS = {
'Access-Control-Allow-Origin': '*',