mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-14 12:14:42 +01:00
add spaces
This commit is contained in:
@@ -10,10 +10,10 @@ export default async function ({redirect, route, $axios}: Context) {
|
||||
if (response.status === 200) {
|
||||
isMaintenance = response.data.maintenance.active === 1
|
||||
}
|
||||
if(isMaintenance){
|
||||
if (isMaintenance) {
|
||||
return redirect('/maintenance')
|
||||
}
|
||||
if(!isMaintenance && route.path === '/maintenance'){
|
||||
if (!isMaintenance && route.path === '/maintenance') {
|
||||
return redirect('/')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user