chore: remove seed data

This commit is contained in:
Johnny
2025-06-09 23:06:32 +08:00
parent ba33336dc4
commit d413729038
9 changed files with 6 additions and 226 deletions
+2 -2
View File
@@ -52,8 +52,8 @@ func checkDataDir(dataDir string) (string, error) {
}
func (p *Profile) Validate() error {
if p.Mode != "demo" && p.Mode != "dev" && p.Mode != "prod" {
p.Mode = "demo"
if p.Mode != "dev" && p.Mode != "prod" {
p.Mode = "dev"
}
if p.Mode == "prod" && p.Data == "" {