Merge pull request #13421 from umbraco/v11/codespace-fwd-port-smtp4dev

Codespaces: List port 5000 for Smtp4Dev
This commit is contained in:
Warren Buckley
2022-11-16 16:34:59 +00:00
committed by GitHub

View File

@@ -6,6 +6,7 @@
"service": "app",
"workspaceFolder": "/workspace",
// Set *default* container specific settings.json values on container create.
"settings": {
"omnisharp.defaultLaunchSolution": "umbraco.sln",
@@ -38,6 +39,12 @@
// This is used in the prebuilds - so dotnet build (nuget restore and node stuff) is done
"updateContentCommand": "dotnet build umbraco.sln && dotnet dev-certs https --trust && sudo apt-get update && sudo apt install sqlite3",
// Port needed to help discover SMTP4Dev
"forwardPorts": [
5000
],
"portsAttributes": {
"5000": {
"label": "SMTP4Dev",
@@ -61,7 +68,7 @@
".github/codespaces-readme.md"
]
}
}
}
// [Optional] To reuse of your local HTTPS dev cert:
//