We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98bbf50 commit eb74822Copy full SHA for eb74822
model/disk_methods.go
@@ -6,7 +6,7 @@ import (
6
"github.com/IceWhaleTech/CasaOS-Common/utils/file"
7
)
8
9
-const defaultMountPath = "/mnt"
+const defaultMountPath = "/media"
10
11
func (m *LSBLKModel) GetMountPoint(name string) string {
12
if name == "" {
route/v1/storage.go
@@ -285,7 +285,7 @@ func PostAddStorage(c *gin.Context) {
285
"data": StorageMessage{
286
Action: "ADDED",
287
Path: blkChild.Path,
288
- Volume: "/mnt/",
+ Volume: "/media/",
289
Size: blkChild.Size,
290
Type: blkChild.Tran,
291
},
0 commit comments