Skip to content

Commit 943736c

Browse files
committed
将子网站(Markdown语法中心)的网址显示为子路径:尝试。
1 parent db1f5aa commit 943736c

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

verson.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
{
2-
"rewrites": [
2+
// "rewrites": [
3+
// {
4+
// "source": "/markdown-syntax-hub/:path*",
5+
// "destination": "https://markdown-syntax-hub.tcblabber.cn/:path*"
6+
// }
7+
// ]
8+
"rewrites": [
39
{
4-
"source": "/markdown-syntax-hub/:path*",
5-
"destination": "https://markdown-syntax-hub.tcblabber.cn/:path*"
10+
"source": "/:path*",
11+
"has": [
12+
{
13+
"type": "host",
14+
"value": "markdown-syntax-hub.tcblabber.cn"
15+
}
16+
],
17+
"destination": "/markdown-syntax-hub.tcblabber.cn/:path*"
618
}
719
]
820
}

0 commit comments

Comments
 (0)