Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deactivate thumbnail generation #137

Merged
merged 2 commits into from Jan 12, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions website/views.py
Expand Up @@ -43,8 +43,9 @@ def link(request):
except ObjectDoesNotExist:
return HttpResponseNotFound('<h1>No such uuid</h1>')

# the url for the thumnbail
thumb_url=f'{request.scheme}://{request.get_host()}/thumbnail/?d={uuid}'
# Temporarily deactivate the thumbnail generation (crashes the server)
# thumb_url=f'{request.scheme}://{request.get_host()}/thumbnail/?d={uuid}'
thumb_url='https://higlass.io/tileicon.png'

# the page to redirect to for interactive explorations
redirect_url=f'{request.scheme}://{request.get_host()}/app/?config={uuid}'
Expand Down