mirror of
https://github.com/aykhans/slash-e.git
synced 2026-09-24 23:06:48 +00:00
chore: remove seed data
This commit is contained in:
@@ -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 == "" {
|
||||
|
||||
Reference in New Issue
Block a user