Change port forwarding behavior in devcontainer.json

This commit is contained in:
Kroese 2025-10-19 08:38:54 +02:00 committed by GitHub
parent a1d9d442ed
commit 65c032b1ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,11 +4,10 @@
"containerEnv": { "containerEnv": {
"VERSION": "2022" "VERSION": "2022"
}, },
"forwardPorts": [8006],
"portsAttributes": { "portsAttributes": {
"8006": { "8006": {
"label": "Web", "label": "Web",
"onAutoForward": "openBrowser" "onAutoForward": "notify"
} }
}, },
"otherPortsAttributes": { "otherPortsAttributes": {