mirror of https://github.com/Xhofe/alist
fix: incorrect root path of initial storage for dev mode
parent
da7e17aa38
commit
a2c808c8ce
|
@ -17,7 +17,7 @@ func initDevData() {
|
||||||
Order: 0,
|
Order: 0,
|
||||||
Driver: "Local",
|
Driver: "Local",
|
||||||
Status: "",
|
Status: "",
|
||||||
Addition: `{"root_folder":"."}`,
|
Addition: `{"root_folder_path":"."}`,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("failed to create storage: %+v", err)
|
log.Fatalf("failed to create storage: %+v", err)
|
||||||
|
|
Loading…
Reference in New Issue