connection static-test
This commit is contained in:
parent
da2a2e9da4
commit
7eb3fb62c8
|
@ -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,
|
||||
|
|
|
@ -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, () => {
|
||||
|
|
Reference in New Issue