diff --git a/apps/openpage-api/app/growth/total-users/route.ts b/apps/openpage-api/app/growth/total-users/route.ts index 0617ecda2..bd34055ef 100644 --- a/apps/openpage-api/app/growth/total-users/route.ts +++ b/apps/openpage-api/app/growth/total-users/route.ts @@ -2,7 +2,7 @@ import cors from '@/lib/cors'; import { getUserMonthlyGrowth } from '@/lib/growth/get-user-monthly-growth'; export async function GET(request: Request) { - const totalUsers = await getUserMonthlyGrowth("cumulative"); + const totalUsers = await getUserMonthlyGrowth('cumulative'); return cors( request, diff --git a/apps/openpage-api/lib/cors.ts b/apps/openpage-api/lib/cors.ts index 03c1f1c4a..2d667ab23 100644 --- a/apps/openpage-api/lib/cors.ts +++ b/apps/openpage-api/lib/cors.ts @@ -30,10 +30,10 @@ function isOriginAllowed(origin: string, allowed: StaticOrigin): boolean { return Array.isArray(allowed) ? allowed.some((o) => isOriginAllowed(origin, o)) : typeof allowed === 'string' - ? origin === allowed - : allowed instanceof RegExp - ? allowed.test(origin) - : !!allowed; + ? origin === allowed + : allowed instanceof RegExp + ? allowed.test(origin) + : !!allowed; } function getOriginHeaders(reqOrigin: string | undefined, origin: StaticOrigin) { diff --git a/apps/web/src/app/(signing)/sign/[token]/dropdown-field.tsx b/apps/web/src/app/(signing)/sign/[token]/dropdown-field.tsx index ccc7df777..eef159ec6 100644 --- a/apps/web/src/app/(signing)/sign/[token]/dropdown-field.tsx +++ b/apps/web/src/app/(signing)/sign/[token]/dropdown-field.tsx @@ -178,7 +178,7 @@ export const DropdownField = ({ )} {!field.inserted && ( -

+