mirror of
https://github.com/AlistGo/alist.git
synced 2025-05-30 04:16:07 +08:00
chore: rename VirtualPath
to MountPath
This commit is contained in:
@ -12,11 +12,11 @@ import (
|
||||
|
||||
func initDevData() {
|
||||
err := operations.CreateStorage(context.Background(), model.Storage{
|
||||
VirtualPath: "/",
|
||||
Index: 0,
|
||||
Driver: "Local",
|
||||
Status: "",
|
||||
Addition: `{"root_folder":"."}`,
|
||||
MountPath: "/",
|
||||
Index: 0,
|
||||
Driver: "Local",
|
||||
Status: "",
|
||||
Addition: `{"root_folder":"."}`,
|
||||
})
|
||||
if err != nil {
|
||||
log.Fatalf("failed to create storage: %+v", err)
|
||||
|
Reference in New Issue
Block a user