Полный продовый фикс fix22: DNS preflight, inet firewall, idempotent bootstrap, auth-semantics и redact-config

This commit is contained in:
2026-05-08 09:41:57 +05:00
parent 06540087fd
commit 97e679f69f
15 changed files with 268 additions and 47 deletions
+7
View File
@@ -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"`