mirror of
https://github.com/go-gitea/gitea
synced 2025-08-12 12:38:20 +00:00
Add config option: Picture cache path
This commit is contained in:
@@ -44,6 +44,8 @@ REGISTER_EMAIL_CONFIRM = false
|
||||
DISENABLE_REGISTERATION = false
|
||||
; User must sign in to view anything.
|
||||
REQUIRE_SIGNIN_VIEW = false
|
||||
; Cache avatar as picture
|
||||
ENABLE_CACHE_AVATAR = false
|
||||
|
||||
[mailer]
|
||||
ENABLED = false
|
||||
@@ -70,6 +72,12 @@ INTERVAL = 60
|
||||
; memcache: "127.0.0.1:11211"
|
||||
HOST =
|
||||
|
||||
[picture]
|
||||
; The place to picture data, either "server" or "qiniu", default is "server"
|
||||
SERVICE = server
|
||||
; For "server" only, root path of picture data, default is "data/pictures"
|
||||
PATH = data/pictures
|
||||
|
||||
[log]
|
||||
; Either "console", "file", "conn" or "smtp", default is "console"
|
||||
MODE = console
|
||||
|
Reference in New Issue
Block a user