Skip to content

Commit

Permalink
k
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx committed Dec 12, 2024
1 parent f5d6381 commit af2d548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/app/api/[...path]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit af2d548

Please sign in to comment.