mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: remote test ping and ping-back
This commit is contained in:
@@ -22,7 +22,7 @@ type system struct {
|
||||
Listen string `validate:"required"`
|
||||
Debug bool
|
||||
SessionSecret string
|
||||
HashIDSalt string `validate:"required"`
|
||||
HashIDSalt string
|
||||
}
|
||||
|
||||
// slave 作为slave存储端配置
|
||||
@@ -72,8 +72,7 @@ type cors struct {
|
||||
|
||||
var cfg *ini.File
|
||||
|
||||
const defaultConf = `
|
||||
[System]
|
||||
const defaultConf = `[System]
|
||||
Mode = master
|
||||
Listen = :5212
|
||||
SessionSecret = {SessionSecret}
|
||||
|
||||
Reference in New Issue
Block a user