chore: clean debug code

This commit is contained in:
Steven 2023-12-11 22:20:57 +08:00
parent c608877c3e
commit e5de8c08f5

View File

@ -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"
}