mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-26 17:51:54 +01:00
k
This commit is contained in:
parent
f5d638161b
commit
af2d548766
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user