diff --git a/web/src/views/LandingView.vue b/web/src/views/LandingView.vue index 934d79a..38961cd 100644 --- a/web/src/views/LandingView.vue +++ b/web/src/views/LandingView.vue @@ -2,6 +2,10 @@ import { useAuthStore } from '@/stores/auth' import ThemeToggle from '@/components/ui/ThemeToggle.vue' const auth = useAuthStore() + +// 调用演示用浏览器当前 host(兼容端点),避免写死域名 +const host = window.location.host +const baseURL = `${window.location.origin}/v1`