Use HTTPS URLTest source

This commit is contained in:
世界
2023-04-13 09:03:08 +08:00
parent 542612129d
commit 9d32fc9bd1
7 changed files with 26 additions and 29 deletions

View File

@@ -54,7 +54,7 @@ func New(ctx context.Context, router adapter.Router, logger log.ContextLogger, t
case C.TypeSelector:
return NewSelector(router, logger, tag, options.SelectorOptions)
case C.TypeURLTest:
return NewURLTest(router, logger, tag, options.URLTestOptions)
return NewURLTest(ctx, router, logger, tag, options.URLTestOptions)
default:
return nil, E.New("unknown outbound type: ", options.Type)
}