Commit f0587326 authored by BAIRE Anthony's avatar BAIRE Anthony

fix the generation of the job uri

the generation of the uri *must* take into account
the reverse-proxy headers
parent 97c942a3
Pipeline #98378 passed with stages
in 3 minutes and 40 seconds
......@@ -88,8 +88,9 @@ def jobs(request):
response = {
"avg_time": 0, # legacy, not relevant anymore
"id" : job.id,
"url" : request.build_absolute_uri(no_domain_url),
"url" : get_base_url(request)+no_domain_url,
}
return JsonResponse(response)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment