From 00bd9e56c2faa68f017345ef1b41ed1d8f6f8f0d Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Wed, 9 Dec 2020 16:06:30 -0700 Subject: [PATCH] docs: update FAQ with new go home customization --- doc/FAQ.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/FAQ.md b/doc/FAQ.md index 5b334b60..e62bfb66 100644 --- a/doc/FAQ.md +++ b/doc/FAQ.md @@ -22,6 +22,7 @@ - [Heartbeat File](#heartbeat-file) - [Healthz endpoint](#healthz-endpoint) - [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) - [How do I make my keyboard shortcuts work?](#how-do-i-make-my-keyboard-shortcuts-work) - [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`. +## 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? Please give