Commit b04782a6 authored by LETORT Sebastien's avatar LETORT Sebastien

The link returned by APIJobView starts with api/v1, this allows the...

The link returned by APIJobView starts with api/v1, this allows the authentication by token, which make file downloading work.
parent 97c942a3
Pipeline #106043 passed with stages
in 5 minutes and 9 seconds
......@@ -19,7 +19,7 @@ BUF_SIZE = 65536
def get_link(jobid, dir, filename, request):
return '/'.join((get_base_url(request), "datastore", str(jobid), filename))
return '/'.join((get_base_url(request), "api/v1/datastore", str(jobid), filename))
class APIJobView(JobAuthMixin, View):
......
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