Unverified Commit 5694826f authored by Z.SX's avatar Z.SX Committed by GitHub
Browse files

Fix: Router manage DB connection error

parent 60bea619
Showing with 2 additions and 2 deletions
+2 -2
......@@ -33,7 +33,7 @@ const initDB = async (treeid) => {
let result = dbTpl[DBInfo.router_db_name] || ''
if(!result){
const config = {
host: DBInfo.server_ip,
host: DBInfo.router_db_ip,
database: DBInfo.router_db_name,
port: DBInfo.router_db_port,
user: DBInfo.router_db_user,
......@@ -212,4 +212,4 @@ module.exports = {
result.size = Math.floor(size)
return result
},
}
\ No newline at end of file
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment