mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-19 20:24:32 +02:00
k
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user