Commit 60433c99f4b12b74e0f1538ceb8a098031ec8b49
1 parent
532685f339
Exists in
master
config json
Showing
2 changed files
with
10 additions
and
5 deletions
Show diff stats
config/config.ejemplo.json
index.js
... | ... | @@ -4,11 +4,11 @@ const app = express(); |
4 | 4 | const config = require('./config/config.json'); |
5 | 5 | const socket = require('./socket/socket.js'); |
6 | 6 | |
7 | -const port = config.puerto; | |
8 | -const host = config.direccion; | |
7 | +const port = config.servidorveeder.port; | |
8 | +const host = config.servidorveeder.direccion; | |
9 | 9 | var fecha; |
10 | 10 | |
11 | -app.listen(4500) | |
11 | +app.listen(config.servidornode.port); | |
12 | 12 | |
13 | 13 | app.get('/tank-info/:tank*?', function (req, res) { |
14 | 14 |