From 9a43994ac5af661a5ebadffcae294eb5ee65efc1 Mon Sep 17 00:00:00 2001 From: Richard Hitier Date: Tue, 18 Apr 2023 09:26:50 +0200 Subject: [PATCH] Fix hostname missing port --- web/view/home.html.jinja2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/view/home.html.jinja2 b/web/view/home.html.jinja2 index f8a0271..c04f99b 100755 --- a/web/view/home.html.jinja2 +++ b/web/view/home.html.jinja2 @@ -253,11 +253,11 @@ var sw_configuration = { time_series_container: '#time_series', orbits_container: '#orbits', api: { - 'root': "{{ request.url_root }}", - 'data_for_interval': "{{ request.url_root }}_{{ input_slug }}__.csv", - 'download': "{{ request.url_root }}_{{ input_slug }}__.cdf", + 'root': "{{ request.hostname }}", + 'data_for_interval': "{{ request.hostname }}_{{ input_slug }}__.csv", + 'download': "{{ request.hostname }}_{{ input_slug }}__.cdf", {# - 'samp': "{{ request.url_root }}_{{ input_slug }}__.cdf" + 'samp': "{{ request.hostname }}_{{ input_slug }}__.cdf" #} }, sun: { -- libgit2 0.21.2