Полный продовый фикс fix22: DNS preflight, inet firewall, idempotent bootstrap, auth-semantics и redact-config
This commit is contained in:
@@ -24,6 +24,13 @@ func Hysteria2AuthFail(id string, c *gin.Context) {
|
||||
})
|
||||
}
|
||||
|
||||
func Hysteria2AuthBadRequest(c *gin.Context) {
|
||||
c.JSON(http.StatusBadRequest, hysteria2Result{
|
||||
Ok: false,
|
||||
Id: "",
|
||||
})
|
||||
}
|
||||
|
||||
type Hysteria2SubscribeVo struct {
|
||||
Url string `json:"url"`
|
||||
QrCode []byte `json:"qrCode"`
|
||||
|
||||
Reference in New Issue
Block a user