|
@ -228,6 +228,9 @@ func runServer(cmd *Command, args []string) bool { |
|
|
if *volumePublicPort == 0 { |
|
|
if *volumePublicPort == 0 { |
|
|
*volumePublicPort = *volumePort |
|
|
*volumePublicPort = *volumePort |
|
|
} |
|
|
} |
|
|
|
|
|
if *serverPublicUrl == "" { |
|
|
|
|
|
*serverPublicUrl = *serverIp + ":" + strconv.Itoa(*volumePublicPort) |
|
|
|
|
|
} |
|
|
isSeperatedPublicPort := *volumePublicPort != *volumePort |
|
|
isSeperatedPublicPort := *volumePublicPort != *volumePort |
|
|
volumeMux := http.NewServeMux() |
|
|
volumeMux := http.NewServeMux() |
|
|
publicVolumeMux := volumeMux |
|
|
publicVolumeMux := volumeMux |
|
|