mirror of
https://github.com/coder/code-server.git
synced 2025-09-19 03:03:57 +08:00
Place locale and abs-proxy-base-path in correct interfaces
This commit is contained in:
@ -53,8 +53,9 @@ export interface UserProvidedCodeArgs {
|
|||||||
"disable-getting-started-override"?: boolean
|
"disable-getting-started-override"?: boolean
|
||||||
"disable-proxy"?: boolean
|
"disable-proxy"?: boolean
|
||||||
"session-socket"?: string
|
"session-socket"?: string
|
||||||
"abs-proxy-base-path"?: string
|
|
||||||
"link-protection-trusted-domains"?: string[]
|
"link-protection-trusted-domains"?: string[]
|
||||||
|
// locale is used by both VS Code and code-server.
|
||||||
|
locale?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -74,7 +75,6 @@ export interface UserProvidedArgs extends UserProvidedCodeArgs {
|
|||||||
enable?: string[]
|
enable?: string[]
|
||||||
help?: boolean
|
help?: boolean
|
||||||
host?: string
|
host?: string
|
||||||
locale?: string
|
|
||||||
port?: number
|
port?: number
|
||||||
json?: boolean
|
json?: boolean
|
||||||
log?: LogLevel
|
log?: LogLevel
|
||||||
@ -92,6 +92,7 @@ export interface UserProvidedArgs extends UserProvidedCodeArgs {
|
|||||||
verbose?: boolean
|
verbose?: boolean
|
||||||
"app-name"?: string
|
"app-name"?: string
|
||||||
"welcome-text"?: string
|
"welcome-text"?: string
|
||||||
|
"abs-proxy-base-path"?: string
|
||||||
/* Positional arguments. */
|
/* Positional arguments. */
|
||||||
_?: string[]
|
_?: string[]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user