elasticsearch embedded

Este commit está contenido en:
ale
2019-04-07 20:53:55 +02:00
padre 42ffa73bba
commit f26d824aae
Se han modificado 2 ficheros con 20 adiciones y 2 borrados

Ver fichero

@@ -3,7 +3,7 @@ const http = require('http'),
es = require('elasticsearch'),
express = require('express'),
bodyParser = require('body-parser'),
client = new es.Client({ host: 'http://192.168.1.130:9200' }),
client = new es.Client({ host: 'http://elasticsearch:9200' }),
app = express(),
router = express.Router(),
server = http.createServer(app).listen(8080, () => {