chore: fix serve frontend flag

This commit is contained in:
Steven
2024-02-20 23:24:13 +08:00
parent fa62e8b59a
commit 4a6da91719
3 changed files with 8 additions and 17 deletions

View File

@@ -30,8 +30,8 @@ type Profile struct {
Driver string `json:"-"`
// Version is the current version of server
Version string `json:"version"`
// ServeFrontend indicate the frontend is enabled or not
ServeFrontend bool `json:"frontend"`
// Frontend indicate the frontend is enabled or not
Frontend bool `json:"-"`
// Metric indicate the metric collection is enabled or not
Metric bool `json:"-"`
}