1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 08:19:15 +08:00

fix: 解决反代保存失败的问题 (#2845)

This commit is contained in:
zhengkunwang 2023-11-08 10:39:29 +08:00 committed by GitHub
parent 4b4f53d09b
commit e279362b85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,8 +187,8 @@ type WebsiteProxyConfig struct {
Operate string `json:"operate" validate:"required"` Operate string `json:"operate" validate:"required"`
Enable bool `json:"enable" ` Enable bool `json:"enable" `
Cache bool `json:"cache" ` Cache bool `json:"cache" `
CacheTime int `json:"cacheTime" validate:"required"` CacheTime int `json:"cacheTime" `
CacheUnit string `json:"cacheUnit" validate:"required"` CacheUnit string `json:"cacheUnit"`
Name string `json:"name" validate:"required"` Name string `json:"name" validate:"required"`
Modifier string `json:"modifier" validate:"required"` Modifier string `json:"modifier" validate:"required"`
Match string `json:"match" validate:"required"` Match string `json:"match" validate:"required"`