3d10193be2
Only load SECRET_KEY and INTERNAL_TOKEN if they exist. Never write the config file if the keys do not exist, which was only a fallback for Gitea upgraded from < 1.5 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> |
||
---|---|---|
.. | ||
adding-legal-pages.en-us.md | ||
clone-filter.en-us.md | ||
cmd-embedded.en-us.md | ||
config-cheat-sheet.en-us.md | ||
config-cheat-sheet.zh-cn.md | ||
customizing-gitea.en-us.md | ||
customizing-gitea.zh-cn.md | ||
environment-variables.en-us.md | ||
environment-variables.zh-cn.md | ||
external-renderers.en-us.md | ||
hacking-on-gitea.zh-cn.md | ||
logging-documentation.en-us.md | ||
mail-templates-us.md | ||
make.fr-fr.md | ||
make.zh-cn.md | ||
protected-tags.en-us.md | ||
repo-indexer.en-us.md | ||
repo-mirror.en-us.md | ||
search-engines-indexation.en-us.md | ||
signing.en-us.md | ||
third-party-tools.zh-cn.md |