reverse commit (fix later)

This commit is contained in:
Richard Kuo 2024-12-11 22:19:10 -08:00
parent 76595facef
commit d23fca96c4

View File

@ -61,12 +61,7 @@ export async function OPTIONS(
}
async function handleRequest(request: NextRequest, path: string[]) {
if (
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"
) {
if (process.env.NODE_ENV !== "development") {
return NextResponse.json(
{
message: