gitea/cmd
Clar Fon 3d10193be2
Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI (#19663)
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>
2022-10-02 01:26:33 +08:00
..
admin.go
admin_auth_ldap.go
admin_auth_ldap_test.go
cert.go
cmd.go
convert.go
docs.go
doctor.go
dump.go
dump_repo.go
embedded.go
embedded_stub.go
generate.go
hook.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
hook_test.go
keys.go
mailer.go
main_test.go
manager.go
manager_logging.go
migrate.go
migrate_storage.go fix hard-coded timeout and error panic in API archive download endpoint (#20925) 2022-08-29 11:45:20 +02:00
migrate_storage_test.go
restore_repo.go
serv.go
web.go Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI (#19663) 2022-10-02 01:26:33 +08:00
web_acme.go
web_graceful.go
web_https.go