mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-30 22:15:27 -05:00
Add WebUI Support for V2Ray (#3284)
* Add support for web based grpc * Avoid panic in observatory command: incorrect tag * Add WebCommander app for web based client * Add WebCommander app for web based client * Add urlline subscription container format support * avoid panic when serving user request * refine subscription info api * fix start consistency issue in web commander * fix webcommander import style * fix urlline parsing * fix crash in subscription commander * add webroot file serving at webcommmander * fix crash when observatory is not found * add autogenerated subscriptionmgr err
This commit is contained in:
committed by
GitHub
parent
4adda5806a
commit
69b09074f8
@@ -34,6 +34,9 @@ func (s *service) GetOutboundStatus(ctx context.Context, request *GetOutboundSta
|
||||
}
|
||||
result = observeResult
|
||||
} else {
|
||||
if _, ok := s.observatory.(features.TaggedFeatures); !ok {
|
||||
return nil, newError("observatory does not support tagged features")
|
||||
}
|
||||
fet, err := s.observatory.(features.TaggedFeatures).GetFeaturesByTag(request.Tag)
|
||||
if err != nil {
|
||||
return nil, newError("cannot get tagged observatory").Base(err)
|
||||
|
||||
Reference in New Issue
Block a user