Commit ef17ea13 authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

Merge branch '350-download-file-doesn-t-work-in-allgo18-like-in-allgo-old' into 'django'

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

Closes #350

See merge request !188
parents 97c942a3 b04782a6
Pipeline #120241 passed with stages
in 5 minutes and 2 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