mirror of https://github.com/coder/code-server.git
refactor: remove --home flag/feature
We are removing this because it was removed upstream in PR~115599.
This commit is contained in:
parent
ae02023454
commit
0c2708302d
|
@ -40,7 +40,7 @@ jobs:
|
|||
- uses: microsoft/playwright-github-action@v1
|
||||
- name: Install dependencies and run tests
|
||||
run: |
|
||||
./release-packages/code-server*-linux-amd64/bin/code-server --home $CODE_SERVER_ADDRESS/healthz &
|
||||
./release-packages/code-server*-linux-amd64/bin/code-server &
|
||||
yarn --frozen-lockfile
|
||||
yarn test
|
||||
- name: Upload test artifacts
|
||||
|
|
|
@ -16,9 +16,6 @@ main() {
|
|||
echo " \$PASSWORD"
|
||||
echo " \$CODE_SERVER_ADDRESS"
|
||||
echo -e "\n"
|
||||
echo "Please make sure you have code-server running locally with the flag:"
|
||||
echo " --home \$CODE_SERVER_ADDRESS/healthz "
|
||||
echo -e "\n"
|
||||
exit 1
|
||||
fi
|
||||
CS_DISABLE_PLUGINS=true ./test/node_modules/.bin/jest "$@"
|
||||
|
|
12
docs/FAQ.md
12
docs/FAQ.md
|
@ -2,6 +2,7 @@
|
|||
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
||||
# FAQ
|
||||
|
||||
- [FAQ](#faq)
|
||||
- [Questions?](#questions)
|
||||
- [iPad Status?](#ipad-status)
|
||||
- [Community Projects (awesome-code-server)](#community-projects-awesome-code-server)
|
||||
|
@ -26,7 +27,6 @@
|
|||
- [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)
|
||||
|
@ -354,16 +354,6 @@ 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
|
||||
|
|
|
@ -56,7 +56,6 @@ export interface Args extends VsArgs {
|
|||
"new-window"?: boolean
|
||||
|
||||
link?: OptionalString
|
||||
home?: string
|
||||
}
|
||||
|
||||
interface Option<T> {
|
||||
|
@ -201,10 +200,6 @@ const options: Options<Required<Args>> = {
|
|||
`,
|
||||
beta: true,
|
||||
},
|
||||
home: {
|
||||
type: "string",
|
||||
description: "Set a custom link for the 'Go Home' button in the Application Menu",
|
||||
},
|
||||
}
|
||||
|
||||
export const optionDescriptions = (): string[] => {
|
||||
|
|
|
@ -55,7 +55,6 @@ describe("parser", () => {
|
|||
"--log",
|
||||
"error",
|
||||
"--help",
|
||||
"--home=http://localhost:8080/",
|
||||
"--open",
|
||||
"--socket=mumble",
|
||||
"3",
|
||||
|
@ -86,7 +85,6 @@ describe("parser", () => {
|
|||
"extra-builtin-extensions-dir": [path.resolve("bazzle")],
|
||||
"extra-extensions-dir": [path.resolve("nozzle")],
|
||||
help: true,
|
||||
home: "http://localhost:8080/",
|
||||
host: "0.0.0.0",
|
||||
json: true,
|
||||
log: "error",
|
||||
|
|
Loading…
Reference in New Issue