tmolteno / TART

Transient Array Radio Telescope
https://tart.elec.ac.nz
GNU Lesser General Public License v3.0
26 stars 6 forks source link

web-app file download path inconsistent when remote proxy adds extra path #34

Open maxscheel opened 6 years ago

maxscheel commented 6 years ago

This is only an issue when wanting to download files externally. Internally (locally) routing is consistent.

When wanting to download raw data files from the browser (externally) files are linked to: https://tart.elec.ac.nz/raw/2018/2/1/23_36_51.819267_data.pkl instead of: https://tart.elec.ac.nz/signal/raw/2018/2/1/23_36_51.819267_data.pkl

tmolteno commented 5 years ago

Leaving this issue open. Note that it only applies when downloading data from the public telescope that has been mapped to a different URL. Will fix by routing /raw and /vis to /signal/raw and /signal/vis on the public scope.

On direct connection to a TART via a browser, download works fine.