add admine password to mongo
This commit is contained in:
parent
c3ed6cb5a0
commit
7f0a3a89f5
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ from typing import Optional
|
|||
queue_router = APIRouter(prefix="/queue")
|
||||
|
||||
# Connessione MongoDB
|
||||
client = MongoClient("mongodb://localhost:27017/")
|
||||
client = MongoClient("mongodb://admin:password@localhost:27017/")
|
||||
db = client["simple_db"]
|
||||
queue_collection = db["queue"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue