서버주소 수정

This commit is contained in:
Envy_PC 2024-11-04 19:55:44 +09:00
parent e13fe61241
commit 5f11d0c402
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
from pymongo import MongoClient from pymongo import MongoClient
class MongoDBManager: class MongoDBManager:
def __init__(self, db_url='mongodb://root:1234@wrt08045.duckdns.org:27017/', db_name='AutoPercenty'): def __init__(self, db_url='mongodb://root:1234@cckb9998.synology.me:27017/', db_name='AutoPercenty'):
self.client = MongoClient(db_url) self.client = MongoClient(db_url)
self.db = self.client[db_name] self.db = self.client[db_name]