修复 CMS 配置:移除 local_backend 和无效的 locale 字段
All checks were successful
Build and Deploy / build-deploy (push) Successful in 27s
All checks were successful
Build and Deploy / build-deploy (push) Successful in 27s
This commit is contained in:
@@ -13,16 +13,9 @@ backend:
|
||||
media_folder: "public/uploads" # 文件实际写入仓库的此目录
|
||||
public_folder: "/uploads" # 站点引用时的 URL 前缀
|
||||
|
||||
# 本地预览编辑(开发时无需登录 Gitea 即可试用界面)
|
||||
# 运行 `npx @sveltia/cms-proxy-server` 后访问 /admin 可本地编辑
|
||||
local_backend: true
|
||||
|
||||
# 站点地址(编辑器“在站点查看”跳转用)
|
||||
site_url: http://8.137.165.96:8080
|
||||
|
||||
# 中文界面
|
||||
locale: zh
|
||||
|
||||
collections:
|
||||
# ── 博客 ─────────────────────────────────────────────
|
||||
- name: blog
|
||||
|
||||
Reference in New Issue
Block a user