Skip to content

Commit

Permalink
chore: compatible zeabur env
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaomaiTX committed Jul 23, 2024
1 parent 4e408d1 commit c9a0d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connection/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func getConn() *sql.DB {
viper.GetString("mysql.password"),
viper.GetString("mysql.host"),
viper.GetInt("mysql.port"),
utils.GetStringConfs("mysql.db", "mysql.database"),
utils.GetStringConfs("mysql.database", "mysql.db"),
)
if viper.GetBool("mysql.tls") {
mysql.RegisterTLSConfig("tls", &tls.Config{
Expand Down

0 comments on commit c9a0d9c

Please sign in to comment.