Add server backup

This commit is contained in:
Kwaroran
2025-01-30 13:50:16 +09:00
parent 7446e7fc83
commit e8ec986f65
5 changed files with 100 additions and 15 deletions

View File

@@ -29,12 +29,5 @@ export function preLoadCheck(){
})
}
// Redirect to the main page if the user has not visited the main page
if(localStorage.getItem('mainpage') !== 'visited') {
localStorage.setItem('mainpage', 'visited');
location.replace('https://risuai.net');
return false;
}
return true;
}