mirror of
https://github.com/strapi/strapi.git
synced 2025-08-07 08:16:35 +00:00
Merge branch 'master' into fix/glitch-compo-picker
This commit is contained in:
commit
acbfe598d5
@ -277,7 +277,7 @@ class Strapi {
|
||||
|
||||
async load() {
|
||||
this.app.use(async (ctx, next) => {
|
||||
if (ctx.request.url === '/_health' && ctx.request.method === 'HEAD') {
|
||||
if (ctx.request.url === '/_health' && ['HEAD', 'GET'].includes(ctx.request.method)) {
|
||||
ctx.set('strapi', 'You are so French!');
|
||||
ctx.status = 204;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user