Pass geoserver variable to map download to avoid incorrect redirection
Point to the PUBLIC_LOCATION of GeoServer

When downloading.