Skip to content

Commit 89927bb

Browse files
committed
docs: update FAQ with new go home customization
1 parent 3243b94 commit 89927bb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/FAQ.md

+10
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
- [Heartbeat File](#heartbeat-file)
2424
- [Healthz endpoint](#healthz-endpoint)
2525
- [How does the config file work?](#how-does-the-config-file-work)
26+
- [How do I customize the "Go Home" button?](#how-do-i-customize-the-go-home-button)
2627
- [Isn't an install script piped into sh insecure?](#isnt-an-install-script-piped-into-sh-insecure)
2728
- [How do I make my keyboard shortcuts work?](#how-do-i-make-my-keyboard-shortcuts-work)
2829
- [Differences compared to Theia?](#differences-compared-to-theia)
@@ -297,6 +298,15 @@ The `--config` flag or `$CODE_SERVER_CONFIG` can be used to change the config fi
297298

298299
The default location also respects `$XDG_CONFIG_HOME`.
299300

301+
## How do I customize the "Go Home" button?
302+
303+
You can pass a URL to the `--home` flag like this:
304+
```
305+
code-server --home https://my-website.com
306+
```
307+
308+
Or you can define it in the config file with `home`.
309+
300310
## Isn't an install script piped into sh insecure?
301311

302312
Please give

0 commit comments

Comments
 (0)