connection static-test

This commit is contained in:
alexmorenograu 2021-05-13 09:46:46 +02:00
parent da2a2e9da4
commit 7eb3fb62c8
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ const mysql = require('mysql');
const config = require('../config');
let con = mysql.createConnection({
host: 'test-db.verdnatura.es',
host: 'test-db.static.verdnatura.es', // 'test-db.verdnatura.es',
database: 'vn',
user: config.userDev,
password: config.passwordDev,

View File

@ -10,8 +10,8 @@ exports.dataLogIn = dataLogIn;
con.con.connect(function(err) {});
app.use('/getNumShelving', require('./methods/setCollection__'));
app.use('/insertTicket', require('./methods/bindTicketShelving'));
app.use('/bindShelving', require('./methods/bindShelvingTag'));
app.use('/insertTicket', require('./methods/bindTicketShelving')); // collectionFk
app.use('/bindShelving', require('./methods/bindShelvingTag')); // smartTagFk, shelving, level
app.use('/flashOn', require('./methods/flashOn'));
app.listen(port, () => {