feat(cms): Sveltia 接生产 Gitea (gitea.shoux.net OAuth)
build-and-deploy / build (push) Successful in 46s
build-and-deploy / build (push) Successful in 46s
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
# yaml-language-server: $schema=https://unpkg.com/@sveltia/cms/schema/sveltia-cms.json
|
||||
|
||||
# 本地验证用本地 Gitea(Task 5 起的);生产换真实 Gitea 地址
|
||||
# Sveltia CMS backend:自建 Gitea(https://gitea.shoux.net,OAuth2 PKCE)
|
||||
backend:
|
||||
name: gitea
|
||||
repo: root/official-site-base
|
||||
base_url: http://localhost:3001
|
||||
api_root: http://localhost:3001/api/v1
|
||||
base_url: https://gitea.shoux.net
|
||||
api_root: https://gitea.shoux.net/api/v1
|
||||
app_id: b6fe6225-8700-4599-909e-98a8c5a8defa
|
||||
|
||||
media_folder: /public/media
|
||||
public_folder: /media
|
||||
|
||||
Reference in New Issue
Block a user