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() {
37
37
}
38
38
fmt .Println ("Connected to MongoDB!" )
39
39
40
- collection := client .Database ("taskManager " ).Collection ("tasks" )
40
+ collection := client .Database ("taskmanager " ).Collection ("tasks" )
41
41
42
42
fs := http .FileServer (http .Dir ("./static" ))
43
43
http .Handle ("/" , fs )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ services:
11
11
environment :
12
12
# If you want to use MongoDB Atlas, you can set the URI with `defang config set MONGO_URI`.
13
13
# 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
15
15
# deploy:
16
16
# resources:
17
17
# reservations:
You can’t perform that action at this time.
0 commit comments