1
0
mirror of https://github.com/IceWhaleTech/CasaOS.git synced 2025-07-06 23:37:26 +02:00

Merge pull request #40 from IceWhaleTech/dev

update volume path
This commit is contained in:
link
2021-12-01 20:49:48 -06:00
committed by GitHub

View File

@ -26,6 +26,8 @@ func GetDir(id, envName string) string {
path = "/DATA/Downloads/" path = "/DATA/Downloads/"
case strings.ToLower(envName) == "/srv": case strings.ToLower(envName) == "/srv":
path = "/DATA/" path = "/DATA/"
case strings.ToLower(envName) == "/tv":
path = "/DATA/Media/TV Shows"
default: default:
//path = "/media" //path = "/media"
} }