mirror of
https://github.com/usememos/memos.git
synced 2024-12-18 08:31:33 +03:00
chore: clean debug code
This commit is contained in:
parent
c608877c3e
commit
e5de8c08f5
@ -67,11 +67,6 @@ func GetProfile() (*Profile, error) {
|
||||
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" {
|
||||
profile.Mode = "demo"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user