Skip to content

Commit

Permalink
Merge pull request #264 from we11adam/dev
Browse files Browse the repository at this point in the history
feat: per proxy `test-timeout` for Surge nodes
  • Loading branch information
geekdada authored May 3, 2024
2 parents 55a0f62 + e4bee65 commit 4c08a2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/surge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ function appendCommonConfig(
'ecn',
'underlyingProxy',
'testUrl',
'testTimeout',
'tls13',
'skipCertVerify',
'sni',
Expand Down
1 change: 1 addition & 0 deletions src/validators/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 4c08a2b

Please sign in to comment.