Skip to content

Commit 39e09ca

Browse files
committed
removed ssl port switch
1 parent 0fc1c09 commit 39e09ca

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/common/database.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ func usePostgres() (gorm.Dialector, *gorm.Config) {
6363
port := postgresPort.GetStr()
6464
sslmode := postgresSsl.GetStr()
6565

66-
if sslmode == "enable" {
67-
port = "443"
68-
}
69-
7066
dsn := fmt.Sprintf("host=%s user=%s password=%s dbname=%s port=%s sslmode=%s",
7167
host,
7268
user,

0 commit comments

Comments
 (0)