Skip to content

Commit 7290b7f

Browse files
authored
fix some issues with the devcontainer
1 parent 0b28636 commit 7290b7f

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Diff for: .devcontainer/devcontainer.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@
2525
}
2626
},
2727

28-
"postCreateCommand": "dotnet dev-certs https --check --trust"
29-
28+
"postCreateCommand": "dotnet dev-certs https --trust",
29+
"portsAttributes": {
30+
"5001": {
31+
"protocol": "https"
32+
}
33+
}
3034
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
3135
// "remoteUser": "root"
3236
}

Diff for: src/LinkDotNet.Blog.Web/Properties/launchSettings.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
},
2222
"LinkDotNet.Blog.Web": {
2323
"commandName": "Project",
24-
"dotnetRunMessages": "true",
24+
"dotnetRunMessages": true,
2525
"launchBrowser": false,
26-
"applicationUrl": "https://localhost:5001;http://localhost:5000",
26+
"applicationUrl": "https://localhost:5001",
2727
"environmentVariables": {
2828
"ASPNETCORE_ENVIRONMENT": "Development"
2929
}

0 commit comments

Comments
 (0)