Implemented the update repo endpoint

This commit is contained in:
Petros Angelatos 2013-07-21 02:31:54 +01:00
parent f5760ffd09
commit cb434292bf

View File

@ -70,8 +70,12 @@ app.post('/blink', (req, res) ->
)
app.post('/update', (req, res) ->
hakiApp.update((error) ->
if error
res.send(500)
else
res.send(204)
)
)
app.listen(80)