diff --git a/src/constants/serverConfig.ts b/src/constants/serverConfig.ts index 53940fb9d..032150369 100644 --- a/src/constants/serverConfig.ts +++ b/src/constants/serverConfig.ts @@ -18,8 +18,8 @@ export interface ServerConfig extends FormItem { getValue?: (value: T) => Record } -export const SERVER_CONFIG_ITEMS: ServerConfig[] = [ - // Network settings +export const WEB_ONLY_CONFIG_ITEMS: ServerConfig[] = [ + // We only need these settings in the web version. Desktop app manages them already. { id: 'listen', name: 'Host: The IP address to listen on', @@ -33,7 +33,11 @@ export const SERVER_CONFIG_ITEMS: ServerConfig[] = [ category: ['Network'], type: 'number', defaultValue: 8188 - }, + } +] + +export const SERVER_CONFIG_ITEMS: ServerConfig[] = [ + // Network settings { id: 'tls-keyfile', name: 'TLS Key File: Path to TLS key file for HTTPS',