This commit is contained in:
pablodanswer 2024-12-11 18:52:47 -08:00
parent f5d638161b
commit af2d548766

View File

@ -62,7 +62,7 @@ export async function OPTIONS(
async function handleRequest(request: NextRequest, path: string[]) {
if (
process.env.NODE_ENV === "production" &&
process.env.NODE_ENV !== "production" &&
// NOTE: Set this environment variable to 'true' for preview environments
// Where you want finer-grained control over API access
process.env.OVERRIDE_API_PRODUCTION !== "true"