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