old domain check (#27)
This commit is contained in:
@@ -53,7 +53,7 @@ function versionStringToNumber(versionString:string):number {
|
|||||||
|
|
||||||
export function checkOldDomain(){
|
export function checkOldDomain(){
|
||||||
let db = get(DataBase)
|
let db = get(DataBase)
|
||||||
if(true){
|
if(isOldDomain){
|
||||||
if(!db.didFirstSetup){
|
if(!db.didFirstSetup){
|
||||||
location.href = 'https://risuai.xyz'
|
location.href = 'https://risuai.xyz'
|
||||||
alertMd("Redirecting...")
|
alertMd("Redirecting...")
|
||||||
|
|||||||
Reference in New Issue
Block a user