公开页补齐自引用 Canonical 与按类型的结构化数据,图片补上说明文字。
后台设置和内容编辑改成可导航布局;部署用访客 origin 生成 Canonical,避免落到容器地址。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -12,3 +12,8 @@ NEXT_PUBLIC_API_URL=http://localhost:3001
|
||||
|
||||
# 可选。官方 Docker 构建会写入与仓库根 VERSION 相同的值;本地 dev 可不设。
|
||||
# NEXT_PUBLIC_APP_VERSION=0.1.0
|
||||
|
||||
# 访客看到的公开 origin(Canonical / sitemap)。与 Go CORS 的 SITE_URL 相同。
|
||||
# 不要填 BACKEND_URL / 容器名。本地不设则开发态回退 http://localhost:3000;
|
||||
# 生产缺失或非法时不会回退 localhost,而是省略 Canonical。
|
||||
# SITE_URL=http://localhost:3000
|
||||
|
||||
Reference in New Issue
Block a user