Commit 9a43994ac5af661a5ebadffcae294eb5ee65efc1
1 parent
95ee661e
Exists in
rhitier-dev
Fix hostname missing port
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
web/view/home.html.jinja2
... | ... | @@ -253,11 +253,11 @@ var sw_configuration = { |
253 | 253 | time_series_container: '#time_series', |
254 | 254 | orbits_container: '#orbits', |
255 | 255 | api: { |
256 | - 'root': "{{ request.url_root }}", | |
257 | - 'data_for_interval': "{{ request.url_root }}<target>_{{ input_slug }}_<started_at>_<stopped_at>.csv", | |
258 | - 'download': "{{ request.url_root }}<targets>_{{ input_slug }}_<started_at>_<stopped_at>.cdf", | |
256 | + 'root': "{{ request.hostname }}", | |
257 | + 'data_for_interval': "{{ request.hostname }}<target>_{{ input_slug }}_<started_at>_<stopped_at>.csv", | |
258 | + 'download': "{{ request.hostname }}<targets>_{{ input_slug }}_<started_at>_<stopped_at>.cdf", | |
259 | 259 | {# |
260 | - 'samp': "{{ request.url_root }}<targets>_{{ input_slug }}_<started_at>_<stopped_at>.cdf" | |
260 | + 'samp': "{{ request.hostname }}<targets>_{{ input_slug }}_<started_at>_<stopped_at>.cdf" | |
261 | 261 | #} |
262 | 262 | }, |
263 | 263 | sun: { | ... | ... |