mirror of
https://github.com/usememos/memos.git
synced 2025-03-04 01:04:38 +08:00
chore: clean debug code
This commit is contained in:
parent
c608877c3e
commit
e5de8c08f5
1 changed files with 0 additions and 5 deletions
|
@ -67,11 +67,6 @@ func GetProfile() (*Profile, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
profile.Driver = "postgres"
|
|
||||||
profile.DSN = "postgresql://postgres:4eOcgrWWRpsjBZsR@db.qqlgcifdwzjwcqcrxypg.supabase.co:5432/memos"
|
|
||||||
profile.Mode = "prod"
|
|
||||||
profile.Data = "./"
|
|
||||||
|
|
||||||
if profile.Mode != "demo" && profile.Mode != "dev" && profile.Mode != "prod" {
|
if profile.Mode != "demo" && profile.Mode != "dev" && profile.Mode != "prod" {
|
||||||
profile.Mode = "demo"
|
profile.Mode = "demo"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue