Skip to content

Commit

Permalink
Merge pull request #8 from refinery-platform/scottx611x/lenient_hosts
Browse files Browse the repository at this point in the history
Scottx611x/lenient hosts
  • Loading branch information
scottx611x authored Apr 11, 2018
2 parents 97bab48 + 17804b5 commit fb8f694
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ RUN sed -i 's@"\.\.\/@"\.\/@g' \
# Higlass currently has no favicon.png causing a 500 Error
RUN touch higlass-website/assets/images/favicon.png

ENV DJANGO_SETTINGS_MODULE="higlass_server.settings"

COPY on_startup.py /home/higlass/projects/higlass-server
COPY refinery-settings.py /home/higlass/projects/higlass-server/higlass_server
ENV DJANGO_SETTINGS_MODULE="higlass_server.refinery-settings"

# Append to the supervisord.conf and set the priority of `on_startup.py` to
# be greater than the default of `999` so that it starts up after uwsgi processes.
Expand Down
3 changes: 3 additions & 0 deletions refinery-settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .settings import *

ALLOWED_HOSTS += "*"

0 comments on commit fb8f694

Please sign in to comment.