Commit e5de8c08 authored by Steven's avatar Steven

chore: clean debug code

parent c608877c
...@@ -67,11 +67,6 @@ func GetProfile() (*Profile, error) { ...@@ -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"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment