fix(fix3): runtime env hardening and public endpoint source-of-truth
This commit is contained in:
@@ -18,10 +18,8 @@ type Hysteria2VersionDto struct {
|
||||
type Hysteria2SubscribeUrlDto struct {
|
||||
AccountId *int64 `json:"accountId" form:"accountId" validate:"required,gt=0"`
|
||||
Protocol *string `json:"protocol" form:"protocol" validate:"required,min=1,max=8"`
|
||||
Host *string `json:"host" form:"host" validate:"required,min=1,max=301"`
|
||||
}
|
||||
|
||||
type Hysteria2UrlDto struct {
|
||||
AccountId *int64 `json:"accountId" form:"accountId" validate:"required,gt=0"`
|
||||
Hostname *string `json:"hostname" form:"hostname" validate:"required,min=1,max=255"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user