fixed db name

This commit is contained in:
2025-04-08 13:21:30 -05:00
parent ec3d2998c3
commit dc193022d8
+2 -2
View File
@@ -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);