Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: clean debug code

Stevene5de8c08f507
diff --git a/server/profile/profile.go b/server/profile/profile.go
index 10d68df44..1c21e9df5 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:[email protected]:5432/memos"
- profile.Mode = "prod"
- profile.Data = "./"
-
if profile.Mode != "demo" && profile.Mode != "dev" && profile.Mode != "prod" {
profile.Mode = "demo"
}