From e5de8c08f507399615b3cb2bbea63c4d921ec78c Mon Sep 17 00:00:00 2001 From: Steven Date: Mon, 11 Dec 2023 22:20:57 +0800 Subject: [PATCH] chore: clean debug code --- server/profile/profile.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server/profile/profile.go b/server/profile/profile.go index 10d68df4..1c21e9df 100644 --- a/server/profile/profile.go +++ b/server/profile/profile.go @@ -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" }