From 5d3b2e2e8a9212865e448a94297633c5441253ed Mon Sep 17 00:00:00 2001 From: Warren Buckley Date: Tue, 15 Nov 2022 08:43:21 +0000 Subject: [PATCH] Enable CodeSpaces PortForwarding Config as SMTP4Dev did not auto appear in new prebuilds --- .devcontainer/devcontainer.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 2040a05912..b56869cea1 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -37,6 +37,18 @@ // This is used in the prebuilds - so dotnet build (nuget restore and node stuff) is done "updateContentCommand": "dotnet build umbraco.sln", + "portsAttributes": { + "9000": { + "label": "Umbraco HTTP", + "protocol": "http", + "onAutoForward": "notify" + }, + "44331": { + "label": "Umbraco HTTPS", + "protocol": "https", + "onAutoForward": "notify" + } + } // [Optional] To reuse of your local HTTPS dev cert: //