Merge branch 'release' into develop

This commit is contained in:
Matteo Pagliazzi
2020-04-17 20:50:11 +02:00
8 changed files with 73 additions and 15 deletions

View File

@@ -1,3 +1,7 @@
import {
disableCache,
} from '../../middlewares/cache';
const api = {};
/**
@@ -15,6 +19,8 @@ const api = {};
api.getStatus = {
method: 'GET',
url: '/status',
// explicitly disable caching so that the server is always checked
middlewares: [disableCache],
async handler (req, res) {
res.respond(200, {
status: 'up',