mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 15:13:21 +00:00
Done
This commit is contained in:
parent
243f425fe9
commit
2311f7de3d
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user