Commit 85ace97026f1837138bbaa10a41377ccb2db768f
1 parent
6223a498
Exists in
master
and in
1 other branch
adiciona endpoint /dicionario
Showing
2 changed files
with
6 additions
and
2 deletions
Show diff stats
logsystem/services.log
server.js
... | ... | @@ -192,6 +192,10 @@ app.get('/limparfila', function(req, res) { |
192 | 192 | res.send(200, "Fila limpa"); |
193 | 193 | }); |
194 | 194 | |
195 | +app.get('/dicionario', function(req, res){ | |
196 | + res.send(200, { 'versao': '1.0' } ); | |
197 | +}); | |
198 | + | |
195 | 199 | // precisa ficar no final caso o request n bata com nenhuma rota anterior |
196 | 200 | app.get('/*', function(req, res){ |
197 | 201 | logger.incrementError("4", "Rota nao encontrada"); | ... | ... |