Update README.md

This commit is contained in:
Brigit Murtaugh
2021-04-16 13:31:17 -07:00
committed by GitHub
parent 84ad4752b3
commit 660123582c

View File

@@ -71,7 +71,7 @@ Some things to try:
**Open browser automatically:** As an example change, let's update the `portsAttributes` in the `.devcontainer/devcontainer.json` file to open a browser when our port is automatically forwarded.
- Open the `.devcontainer/devcontainer.json` file.
- Modify the `"onAutoForward"` attribute in your `portsAttributes` to `"openBrowser"`.
- Modify the `"onAutoForward"` attribute in your `portsAttributes` from `"notify"` to `"openBrowser"`.
- Press <kbd>F1</kbd> and select the **Remote-Containers: Rebuild Container** or **Codespaces: Rebuild Container** command so the modifications are picked up.
### More samples