sci-visus / OpenVisusJS

Web Viewer based on ViSUS Visualization Framework
http://www.visus.org
BSD 3-Clause "New" or "Revised" License
2 stars 5 forks source link

ensure the full url is used to request data (e.g., for box queries) #11

Closed cchriste closed 5 years ago

cchriste commented 5 years ago

In visus.js, the url is parsed but the pathname (ret.pathname) is dumped when making a box query (i.e., ret.base_url = parse_url.protocol+'//'+parse_url.hostname+':'+parse_url.port+'/mod_visus?';). This is needed for mod_visus servers that live in some path under the hostname, like the one at llnl that lives in /visus (https://aims2.llnl.gov/visus/mod_visus).

cchriste commented 5 years ago

fixed!