Skip to content

Commit 1172a4d

Browse files
committed
url
1 parent 589879e commit 1172a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blog.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const BLOG = {
109109
POSTS_SHARE_SERVICES: process.env.NEXT_PUBLIC_POST_SHARE_SERVICES || 'link,wechat,qq,weibo,email,facebook,twitter,telegram,messenger,line,reddit,whatsapp,linkedin', // 分享的服務,按顺序显示,逗号隔开
110110
// 所有支持的分享服务:link(复制链接),wechat(微信),qq,weibo(微博),email(邮件),facebook,twitter,telegram,messenger,line,reddit,whatsapp,linkedin,vkshare,okshare,tumblr,livejournal,mailru,viber,workplace,pocket,instapaper,hatena
111111

112-
POST_URL_PREFIX: process.env.NEXT_PUBLIC_POST_URL_PREFIX || 'article',
112+
POST_URL_PREFIX: process.env.NEXT_PUBLIC_POST_URL_PREFIX || '',
113113
// POST类型文章的默认路径前缀,例如默认POST类型的路径是 /article/[slug]
114114
// 如果此项配置为 '' 空, 则文章将没有前缀路径,使用场景: 希望文章前缀路径为 /post 的情况 支持多级
115115
// 支援類似 WP 可自訂文章連結格式的功能:https://wordpress.org/documentation/article/customize-permalinks/,目前只先實作 %year%/%month%/%day%

0 commit comments

Comments
 (0)