diff --git a/atdb/taskdatabase/services/algorithms.py b/atdb/taskdatabase/services/algorithms.py index 0e41549469a72781ded8b68c1e4170c5fa0e62d7..3d241397865e215e8aa063cc88096ec2d6dc36cb 100644 --- a/atdb/taskdatabase/services/algorithms.py +++ b/atdb/taskdatabase/services/algorithms.py @@ -251,13 +251,13 @@ def construct_link_to_monitor_history(request, title, name, hostname): try: if settings.DEV == True: - url = request.build_absolute_uri(reverse('monitor')) + '?' + query + url = request.build_absolute_uri(reverse('monitoring')) + '?' + query else: # Unclear why 'build_absolute_uri' doesn't return 'https' in production. # Probably because the https is handled fully outside the container by Traefik # and ATDB is not aware of that. - url = "https://" + request.get_host() + reverse('monitor') + '?' + query + url = "https://" + request.get_host() + reverse('monitoring') + '?' + query link = '<a href="' + url + '" target="_blank">' + title + "</a>" except: pass