chore: allow url
This commit is contained in:
@@ -6,7 +6,7 @@ type RouteHandler<T = Record<string, string | string[]>> = (
|
|||||||
ctx: { params: T },
|
ctx: { params: T },
|
||||||
) => Promise<Response> | Response;
|
) => 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 = {
|
const CORS_HEADERS = {
|
||||||
'Access-Control-Allow-Origin': '*',
|
'Access-Control-Allow-Origin': '*',
|
||||||
|
|||||||
Reference in New Issue
Block a user