mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-21 17:46:28 +08:00
fix(s3): set default root path (close #2834)
This commit is contained in:
@@ -21,6 +21,7 @@ type Addition struct {
|
|||||||
|
|
||||||
var config = driver.Config{
|
var config = driver.Config{
|
||||||
Name: "S3",
|
Name: "S3",
|
||||||
|
DefaultRoot: "/",
|
||||||
LocalSort: true,
|
LocalSort: true,
|
||||||
CheckStatus: true,
|
CheckStatus: true,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ type Addition struct {
|
|||||||
var config = driver.Config{
|
var config = driver.Config{
|
||||||
Name: "USS",
|
Name: "USS",
|
||||||
LocalSort: true,
|
LocalSort: true,
|
||||||
|
DefaultRoot: "/",
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|||||||
Reference in New Issue
Block a user