mirror of
https://git.sleeping.town/mirrors/foxy-moxy
synced 2024-11-24 04:57:42 +00:00
healthcheck route
This commit is contained in:
parent
b78dbe2b03
commit
9e8a029a67
2 changed files with 5 additions and 1 deletions
|
@ -51,6 +51,10 @@ app.get('/', function(req, res) {
|
|||
res.end(buffer, 'binary');
|
||||
});
|
||||
|
||||
app.get('/healthcheck', function(req, res) {
|
||||
res.status(200).end();
|
||||
});
|
||||
|
||||
app.get('/:width', function(req, res) {
|
||||
var width = parseInt(req.params.width) || 400;
|
||||
var seed = uuid();
|
||||
|
|
Loading…
Reference in a new issue