Skip to content

Commit 5b0a086

Browse files
02ezCopilot
andauthored
Use canonical gh codespace ports visibility
Replace `gh cs` alias with `gh codespace` for portability and docs parity; avoids environments lacking the alias. No behavior change. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 108d1a2 commit 5b0a086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/securing-port-forwarding-in-dev-containers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ You can automate port visibility settings using the `postAttachCommand` property
7777
"ghcr.io/devcontainers/features/github-cli:1": {}
7878
},
7979

80-
"postAttachCommand": "gh cs ports visibility 3000:private 8080:org -c \"$CODESPACE_NAME\""
80+
"postAttachCommand": "gh codespace ports visibility 3000:private 8080:org -c \"$CODESPACE_NAME\""
8181
}
8282
```
8383

0 commit comments

Comments
 (0)