feat: clean urls
This commit is contained in:
@@ -104,6 +104,7 @@ export default withMermaid({
|
||||
title: "HDU-CS-WIKI",
|
||||
description: "HDU 计算机科学讲义",
|
||||
lastUpdated: true,
|
||||
cleanUrls: true,
|
||||
head: [['script', { async: "async", src: 'https://umami.hdu-cs.wiki/script.js', "data-website-id": "3f11687a-faae-463a-b863-6127a8c28301", "data-domains": "wiki.xyxsw.site,hdu-cs.wiki" }]],
|
||||
themeConfig: {
|
||||
// https://vitepress.dev/reference/default-theme-config
|
||||
|
||||
@@ -26,7 +26,7 @@ export default {
|
||||
|
||||
watch(
|
||||
() => ctx.router.route.data.relativePath,
|
||||
() => updateHomePageStyle(location.pathname === '/' || location.pathname === '/contributors.html'),
|
||||
() => updateHomePageStyle(location.pathname === '/' || location.pathname === '/contributors'),
|
||||
{ immediate: true },
|
||||
)
|
||||
},
|
||||
|
||||
@@ -81,7 +81,7 @@ CTF还有的缺点也是目前热门领域的通病:发展速度过快,后
|
||||
|
||||
更多可以参考计算安全章节
|
||||
|
||||
[传送门](/6.%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%AE%89%E5%85%A8/6.%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%AE%89%E5%85%A8.html)
|
||||
[传送门](/6.%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%AE%89%E5%85%A8/6.%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%AE%89%E5%85%A8)
|
||||
|
||||
## 数据科学竞赛
|
||||
|
||||
|
||||
3
vercel.json
Normal file
3
vercel.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"cleanUrls": true
|
||||
}
|
||||
Reference in New Issue
Block a user