Skip to content
This repository was archived by the owner on Jul 17, 2026. It is now read-only.

Commit 7da9533

Browse files
committed
Update main.ts
1 parent a9c3072 commit 7da9533

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/main.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ import { createApp } from 'vue'
44
import App from './App.vue'
55
import router from './router'
66

7+
const targetUrl = 'https://mmi.place'
8+
9+
if (typeof window !== 'undefined' && !window.location.href.startsWith(targetUrl)) {
10+
window.location.replace(targetUrl)
11+
}
12+
713
const app = createApp(App)
814

915
app.use(router)

0 commit comments

Comments
 (0)