|
@@ -38,7 +38,10 @@
|
|
|
const redirectObj = redirect.find(v => v.code == number)
|
|
const redirectObj = redirect.find(v => v.code == number)
|
|
|
|
|
|
|
|
if (redirectObj) {
|
|
if (redirectObj) {
|
|
|
- window.location.href = window.location.href.replace('https://www.4dmodel.com/SuperTwo/index.html', redirectObj.url)
|
|
|
|
|
|
|
+ if (window.location.href.includes('https://www.4dmodel.com/SuperTwo/index.html')) {
|
|
|
|
|
+
|
|
|
|
|
+ window.location.href = window.location.href.replace('https://www.4dmodel.com/SuperTwo/index.html', redirectObj.url)
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|