修改路由地址
All checks were successful
site-dist-deploy / build-and-deploy (push) Successful in 1m2s

This commit is contained in:
speakeloudest 2026-01-05 21:25:03 -08:00
parent 595d1d0932
commit 8b5444919a

View File

@ -19,15 +19,20 @@ const router = createRouter({
component: () => import('../pages/UserCenter/index.vue'), component: () => import('../pages/UserCenter/index.vue'),
}, },
{ {
path: '/terms-of-service', path: '/terms',
name: 'terms-of-service', name: 'terms-of-service',
component: () => import('../pages/TermsOfService/index.vue'), component: () => import('../pages/TermsOfService/index.vue'),
}, },
{ {
path: '/privacy-policy', path: '/privacy',
name: 'privacy-policy', name: 'privacy-policy',
component: () => import('../pages/PrivacyPolicy/index.vue'), component: () => import('../pages/PrivacyPolicy/index.vue'),
}, },
{
path: '/:pathMatch(.*)*',
name: 'not-found',
redirect: '/',
},
], ],
}) })