Skip to content

Commit f99b123

Browse files
authored
Merge pull request github#22125 from github/repo-sync
repo sync
2 parents 6557b20 + f122adb commit f99b123

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.devcontainer/devcontainer.json

+7
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@
3333

3434
// Use 'forwardPorts' to make a list of ports inside the container available locally.
3535
"forwardPorts": [4000],
36+
37+
"portsAttributes": {
38+
"4000": {
39+
"label": "Preview",
40+
"onAutoForward": "openPreview"
41+
}
42+
},
3643

3744
// Use 'postCreateCommand' to run commands after the container is created.
3845
"postCreateCommand": "git lfs pull && npm ci",

0 commit comments

Comments
 (0)