From dc193022d8124024542993f11c137c33e48f7d11 Mon Sep 17 00:00:00 2001 From: auggie2lbcf Date: Tue, 8 Apr 2025 13:21:30 -0500 Subject: [PATCH] fixed db name --- src/pages/api/comments.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/api/comments.ts b/src/pages/api/comments.ts index a9d830b..632f17d 100644 --- a/src/pages/api/comments.ts +++ b/src/pages/api/comments.ts @@ -1,8 +1,8 @@ import { NextApiRequest, NextApiResponse } from 'next'; import { MongoClient } from 'mongodb'; -const uri = process.env.MONGODB_URI || 'your-mongodb-uri'; // Replace with your MongoDB URI -const dbName = 'your-database-name'; // Replace with your database name +const uri = process.env.MONGODB_URI || 'dontstealmyuri'; +const dbName = 'comments'; const client = new MongoClient(uri);