diff --git a/src/utils/surge.ts b/src/utils/surge.ts index 3ba1edcc7..08282c7aa 100644 --- a/src/utils/surge.ts +++ b/src/utils/surge.ts @@ -500,6 +500,7 @@ function appendCommonConfig( 'ecn', 'underlyingProxy', 'testUrl', + 'testTimeout', 'tls13', 'skipCertVerify', 'sni', diff --git a/src/validators/common.ts b/src/validators/common.ts index 805e9b638..4c9824941 100644 --- a/src/validators/common.ts +++ b/src/validators/common.ts @@ -81,6 +81,7 @@ export const SimpleNodeConfigValidator = z.object({ // Misc underlyingProxy: z.string().optional(), testUrl: z.string().optional(), + testTimeout: z.number().optional(), surgeConfig: SurgeConfigValidator.optional(), surfboardConfig: SurfboardConfigValidator.optional(), quantumultXConfig: QuantumultXConfigValidator.optional(),