mirror of
https://github.com/coder/code-server.git
synced 2026-10-25 18:50:27 +08:00
Add flag to store state on remote instead of browser (#7914)
This commit is contained in:
@@ -47,6 +47,7 @@ export interface UserProvidedCodeArgs {
|
||||
"show-versions"?: boolean
|
||||
category?: string
|
||||
"github-auth"?: string
|
||||
"enable-remote-storage"?: boolean
|
||||
"disable-update-check"?: boolean
|
||||
"disable-file-downloads"?: boolean
|
||||
"disable-file-uploads"?: boolean
|
||||
@@ -275,6 +276,10 @@ export const options: Options<Required<UserProvidedArgs>> = {
|
||||
type: "string",
|
||||
description: "GitHub authentication token (can only be passed in via $GITHUB_TOKEN or the config file).",
|
||||
},
|
||||
"enable-remote-storage": {
|
||||
type: "boolean",
|
||||
description: "Persist VS Code workbench storage on the remote server instead of browser storage.",
|
||||
},
|
||||
"proxy-domain": { type: "string[]", description: "Domain used for proxying ports." },
|
||||
"skip-auth-preflight": {
|
||||
type: "boolean",
|
||||
|
||||
Reference in New Issue
Block a user