mirror of
https://github.com/Vb-Lg/class-history-template.git
synced 2026-11-03 17:36:47 +00:00
feat: initial class history template
This commit is contained in:
commit
92fa0f8f37
33 files changed
+10714
No files matched your search
@@ -0,0 +1,22 @@
|
||||
# 复制为 .env 使用。注意:
|
||||
# - PUBLIC_TURNSTILE_SITE_KEY 是构建时变量,本地构建需要;
|
||||
# - GITHUB_* / TURNSTILE_SECRET_KEY 是 Cloudflare Pages Functions 的
|
||||
# 运行时变量,本地 .env 不会生效,需在 Pages 控制台配置(见 README)。
|
||||
|
||||
# ---- 投稿后端:GitHub App(详见 README「创建 GitHub App」一节) ----
|
||||
GITHUB_APP_ID=
|
||||
GITHUB_INSTALLATION_ID=
|
||||
GITHUB_PRIVATE_KEY=
|
||||
GITHUB_OWNER=
|
||||
GITHUB_REPO=
|
||||
|
||||
# ---- 可选覆盖项(不填使用 functions/api/submit.ts 里的默认值) ----
|
||||
# GITHUB_BASE_BRANCH=main
|
||||
# CONTENT_DIR=src/content
|
||||
# MEDIA_DIR=public/pages/static
|
||||
# MEDIA_URL_PREFIX=/pages/static
|
||||
# SONGS_DIR=src/songs
|
||||
|
||||
# ---- 可选:Cloudflare Turnstile 人机验证(两个都配置才启用) ----
|
||||
# TURNSTILE_SECRET_KEY=
|
||||
# PUBLIC_TURNSTILE_SITE_KEY=
|
||||
Reference in new issue
Block a user