Skip to content

Commit

Permalink
bugfix: Let vscode forward ports instead of adding in raw port number…
Browse files Browse the repository at this point in the history
…s due to existing process bug
  • Loading branch information
Pofay committed Apr 25, 2023
1 parent 08f1b2a commit c2c8847
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,8 @@
// "customizations": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
5272,
5432
],
"portsAttributes": {
"5272": {
"protocol": "http"
}
},
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "dotnet restore && dotnet tool restore"
Expand Down
2 changes: 1 addition & 1 deletion API/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
"applicationUrl": "http://localhost:5271",
"applicationUrl": "http://localhost:5272",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
Expand Down

0 comments on commit c2c8847

Please sign in to comment.