diff --git a/app/api/createClippy/route.ts b/app/api/createClippy/route.ts index cb6682e..c2e811b 100644 --- a/app/api/createClippy/route.ts +++ b/app/api/createClippy/route.ts @@ -19,11 +19,11 @@ export async function POST(req: Request) { return formattedString; } - const uri = process.env.MONGODB_URI as string; + const uri = process.env.MONGO_URI as string; const dbname = process.env.MONGO_DB_NAME as string; const dbcollection = process.env.MONGO_COLLECTION_NAME as string; - console.log('MONGODB_URI:', uri); + console.log('MONGO_URI:', uri); console.log('MONGO_DB_NAME:', dbname); console.log('MONGO_COLLECTION_NAME:', dbcollection); diff --git a/app/api/getPage/route.ts b/app/api/getPage/route.ts index d4762a7..b92c736 100644 --- a/app/api/getPage/route.ts +++ b/app/api/getPage/route.ts @@ -9,7 +9,7 @@ export async function POST(req: Request) { const request = await req.json(); console.log("Got Request for", request); - const uri = process.env.MONGODB_URI; + const uri = process.env.MONGO_URI; const dbname = process.env.MONGO_DB_NAME; const dbcollection = process.env.MONGO_COLLECTION_NAME; @@ -21,7 +21,7 @@ export async function POST(req: Request) { ); } - console.log('MONGODB_URI:', uri); + console.log('MONGO_URI:', uri); console.log('MONGO_DB_NAME:', dbname); console.log('MONGO_COLLECTION_NAME:', dbcollection);