This commit is contained in:
Alexandre Bodin 2019-06-11 17:19:05 +02:00
parent 243f425fe9
commit 2311f7de3d

View File

@ -91,7 +91,10 @@ function serverRestartWatcher(response) {
'Keep-Alive': false,
},
})
.then(() => {
.then(res => {
if (res.status >= 400) {
throw new Error('not available');
}
// Hide the global OverlayBlocker
strapi.unlockApp();
resolve(response);