diff --git a/database/model/model.go b/database/model/model.go index b47be686..91f8c1df 100644 --- a/database/model/model.go +++ b/database/model/model.go @@ -125,6 +125,7 @@ type Server struct { Name string `json:"name" gorm:"unique;not null" form:"name"` Address string `json:"address" gorm:"not null" form:"address"` Port int `json:"port" gorm:"not null" form:"port"` + SecretWebPath string `json:"secretWebPath" gorm:"not null" form:"secretWebPath"` APIKey string `json:"apiKey" gorm:"not null" form:"apiKey"` Enable bool `json:"enable" gorm:"default:true" form:"enable"` } diff --git a/web/html/servers.html b/web/html/servers.html index 733102a9..c95d93be 100644 --- a/web/html/servers.html +++ b/web/html/servers.html @@ -100,6 +100,12 @@ + +