From 1075656d96f014a50b42bc41f829fbea98e97eb1 Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 7 Feb 2022 12:58:08 +0100 Subject: [PATCH] fix(dbConnection): db.host --- db/connect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/connect.js b/db/connect.js index b4b4836..a5ace0d 100644 --- a/db/connect.js +++ b/db/connect.js @@ -2,7 +2,7 @@ const mysql = require('mysql'); const config = require('../config'); const con = mysql.createConnection({ - host: config.db.user, // 'test-db.verdnatura.es', + host: config.db.host, // 'test-db.verdnatura.es', port: config.db.port, database: config.db.database, user: config.db.user,