mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-08-29 03:50:49 +00:00
fix parse fileserver option (#510)
This commit is contained in:
parent
de3496bb33
commit
086327d369
@ -274,9 +274,11 @@ func loadFileServerOptions() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
initDefaultOptions()
|
initDefaultOptions()
|
||||||
if section, err := config.GetSection("fileserver"); err == nil {
|
|
||||||
|
if section, err := config.GetSection("httpserver"); err == nil {
|
||||||
parseFileServerSection(section)
|
parseFileServerSection(section)
|
||||||
} else if section, err := config.GetSection("httpserver"); err == nil {
|
}
|
||||||
|
if section, err := config.GetSection("fileserver"); err == nil {
|
||||||
parseFileServerSection(section)
|
parseFileServerSection(section)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user