mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-02-03 05:37:54 +01:00
Fix
This commit is contained in:
@@ -8,8 +8,7 @@ export default async function ({redirect, route, $axios}: Context) {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
if (response.status === 200) {
|
if (response.status === 200) {
|
||||||
//isMaintenance = response.data.maintenance.active === 1 todo remove
|
isMaintenance = response.data.maintenance.active === 1
|
||||||
isMaintenance = false
|
|
||||||
}
|
}
|
||||||
if(isMaintenance){
|
if(isMaintenance){
|
||||||
return redirect('/maintenance')
|
return redirect('/maintenance')
|
||||||
|
|||||||
Reference in New Issue
Block a user