서버주소 수정
This commit is contained in:
parent
e13fe61241
commit
5f11d0c402
|
|
@ -1,7 +1,7 @@
|
|||
from pymongo import MongoClient
|
||||
|
||||
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.db = self.client[db_name]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue