Skip to content

Commit eb74822

Browse files
committed
update main
1 parent 98bbf50 commit eb74822

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

model/disk_methods.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"github.com/IceWhaleTech/CasaOS-Common/utils/file"
77
)
88

9-
const defaultMountPath = "/mnt"
9+
const defaultMountPath = "/media"
1010

1111
func (m *LSBLKModel) GetMountPoint(name string) string {
1212
if name == "" {

route/v1/storage.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ func PostAddStorage(c *gin.Context) {
285285
"data": StorageMessage{
286286
Action: "ADDED",
287287
Path: blkChild.Path,
288-
Volume: "/mnt/",
288+
Volume: "/media/",
289289
Size: blkChild.Size,
290290
Type: blkChild.Tran,
291291
},

0 commit comments

Comments
 (0)