Load site settings from dotenv and store OAuth credentials
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# 站点对外地址。上线时改为实际域名。
|
||||
LAYSITE_SITE_URL=http://127.0.0.1:8787
|
||||
# HTTPS 部署时取消注释。
|
||||
# LAYSITE_SECURE_COOKIES=1
|
||||
|
||||
# 有需要时覆盖默认值。相对路径以项目根目录为基准。
|
||||
# LAYSITE_LISTEN=http://127.0.0.1:8787
|
||||
# LAYSITE_WORKERS=2
|
||||
# LAYSITE_DB=storage/laysite.sqlite
|
||||
# LAYSITE_MEDIA_DIR=storage/media
|
||||
# LAYSITE_TRUSTED_PROXIES=127.0.0.1,::1
|
||||
|
||||
# 启用 MCP 时填写至少 32 字符的令牌。
|
||||
# LAYSITE_MCP_TOKEN=
|
||||
Reference in New Issue
Block a user