fix?
This commit is contained in:
parent
45793df0eb
commit
aa6ad77d4f
@ -676,7 +676,7 @@ func (con Connection) BrowseServer(ctx *gin.Context) {
|
|||||||
ctx.AbortWithError(500, err)
|
ctx.AbortWithError(500, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
command, err := shellwords.Split("-r /tmp/data --noauth")
|
command, err := shellwords.Split("--noauth -r /tmp/data")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ctx.AbortWithError(500, err)
|
ctx.AbortWithError(500, err)
|
||||||
return
|
return
|
||||||
@ -711,6 +711,7 @@ func (con Connection) BrowseServer(ctx *gin.Context) {
|
|||||||
Cmd: command,
|
Cmd: command,
|
||||||
Image: FILE_BROWSER_IMAGE,
|
Image: FILE_BROWSER_IMAGE,
|
||||||
Labels: browserLabels,
|
Labels: browserLabels,
|
||||||
|
Tty: true,
|
||||||
},
|
},
|
||||||
&container.HostConfig{
|
&container.HostConfig{
|
||||||
Mounts: []mount.Mount{{Source: serverInfo.Id, Target: "/tmp/data", Type: "volume"}},
|
Mounts: []mount.Mount{{Source: serverInfo.Id, Target: "/tmp/data", Type: "volume"}},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user