mirror of https://git.tuxpa.in/a/code-server.git
docs: update FAQ with new go home customization
This commit is contained in:
parent
157eeab30c
commit
00bd9e56c2
10
doc/FAQ.md
10
doc/FAQ.md
|
@ -22,6 +22,7 @@
|
||||||
- [Heartbeat File](#heartbeat-file)
|
- [Heartbeat File](#heartbeat-file)
|
||||||
- [Healthz endpoint](#healthz-endpoint)
|
- [Healthz endpoint](#healthz-endpoint)
|
||||||
- [How does the config file work?](#how-does-the-config-file-work)
|
- [How does the config file work?](#how-does-the-config-file-work)
|
||||||
|
- [How do I customize the "Go Home" button?](#how-do-i-customize-the-go-home-button)
|
||||||
- [Isn't an install script piped into sh insecure?](#isnt-an-install-script-piped-into-sh-insecure)
|
- [Isn't an install script piped into sh insecure?](#isnt-an-install-script-piped-into-sh-insecure)
|
||||||
- [How do I make my keyboard shortcuts work?](#how-do-i-make-my-keyboard-shortcuts-work)
|
- [How do I make my keyboard shortcuts work?](#how-do-i-make-my-keyboard-shortcuts-work)
|
||||||
- [Differences compared to Theia?](#differences-compared-to-theia)
|
- [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
|
||||||
|
|
||||||
The default location also respects `$XDG_CONFIG_HOME`.
|
The default location also respects `$XDG_CONFIG_HOME`.
|
||||||
|
|
||||||
|
## How do I customize the "Go Home" button?
|
||||||
|
|
||||||
|
You can pass a URL to the `--home` flag like this:
|
||||||
|
```
|
||||||
|
code-server --home https://my-website.com
|
||||||
|
```
|
||||||
|
|
||||||
|
Or you can define it in the config file with `home`.
|
||||||
|
|
||||||
## Isn't an install script piped into sh insecure?
|
## Isn't an install script piped into sh insecure?
|
||||||
|
|
||||||
Please give
|
Please give
|
||||||
|
|
Loading…
Reference in New Issue