Separate into admin and public mux for volume servers.

This commit is contained in:
Chris Lu
2015-01-13 00:45:26 -08:00
parent 09bc196958
commit 5afdc469a3
3 changed files with 18 additions and 18 deletions

View File

@@ -107,7 +107,7 @@ func runVolume(cmd *Command, args []string) bool {
r := http.NewServeMux()
volumeServer := weed_server.NewVolumeServer(r, *v.ip, *v.port, *v.publicIp, v.folders, v.folderMaxLimits,
volumeServer := weed_server.NewVolumeServer(r, r, *v.ip, *v.port, *v.publicIp, v.folders, v.folderMaxLimits,
*v.master, *v.pulseSeconds, *v.dataCenter, *v.rack,
v.whiteList,
*v.fixJpgOrientation,