mirror of
https://github.com/ctwj/urldb.git
synced 2025-11-25 03:15:04 +08:00
update: 更新协议
This commit is contained in:
@@ -37,7 +37,7 @@ func InitDB() error {
|
||||
|
||||
dbname := os.Getenv("DB_NAME")
|
||||
if dbname == "" {
|
||||
dbname = "res_db"
|
||||
dbname = "url_db"
|
||||
}
|
||||
|
||||
dsn := fmt.Sprintf("host=%s port=%s user=%s password=%s dbname=%s sslmode=disable",
|
||||
|
||||
Reference in New Issue
Block a user