File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ func main() {
3737 }
3838 fmt .Println ("Connected to MongoDB!" )
3939
40- collection := client .Database ("taskManager " ).Collection ("tasks" )
40+ collection := client .Database ("taskmanager " ).Collection ("tasks" )
4141
4242 fs := http .FileServer (http .Dir ("./static" ))
4343 http .Handle ("/" , fs )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ services:
1111 environment :
1212 # If you want to use MongoDB Atlas, you can set the URI with `defang config set MONGO_URI`.
1313 # This will override any value set in the environment variable:
14- - MONGO_URI=mongodb://$MONGO_INITDB_ROOT_USERNAME:$MONGO_INITDB_ROOT_PASSWORD@db:27017/
14+ - MONGO_URI=mongodb://$MONGO_INITDB_ROOT_USERNAME:$MONGO_INITDB_ROOT_PASSWORD@db:27017/taskmanager
1515 # deploy:
1616 # resources:
1717 # reservations:
You can’t perform that action at this time.
0 commit comments