Skip to content

Commit 2e02a96

Browse files
committed
docs: update FAQ with new go home customization
1 parent 1c61c1f commit 2e02a96

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/FAQ.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
- [Heartbeat File](#heartbeat-file)
2323
- [Healthz endpoint](#healthz-endpoint)
2424
- [How does the config file work?](#how-does-the-config-file-work)
25+
- [How do I customize the "Go Home" button?](#how-do-i-customize-the-go-home-button)
2526
- [Isn't an install script piped into sh insecure?](#isnt-an-install-script-piped-into-sh-insecure)
2627
- [How do I make my keyboard shortcuts work?](#how-do-i-make-my-keyboard-shortcuts-work)
2728
- [Differences compared to Theia?](#differences-compared-to-theia)
@@ -286,6 +287,15 @@ The `--config` flag or `$CODE_SERVER_CONFIG` can be used to change the config fi
286287

287288
The default location also respects `$XDG_CONFIG_HOME`.
288289

290+
## How do I customize the "Go Home" button?
291+
292+
You can pass a URL to the `--home` flag like this:
293+
```
294+
code-server --home https://my-website.com
295+
```
296+
297+
Or you can define it in the config file with `home`.
298+
289299
## Isn't an install script piped into sh insecure?
290300

291301
Please give

0 commit comments

Comments
 (0)