mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-03-11 02:16:52 +08:00
Feat: send remote uploading callback
This commit is contained in:
@@ -103,7 +103,7 @@ func Init() {
|
||||
if conf.SystemConfig.Mode == "master" {
|
||||
secretKey = model.GetSettingByName("secret_key")
|
||||
} else {
|
||||
secretKey = conf.SystemConfig.SlaveSecret
|
||||
secretKey = conf.SlaveConfig.Secret
|
||||
if secretKey == "" {
|
||||
util.Log().Panic("未指定 SlaveSecret,请前往配置文件中指定")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user