Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Commit

Permalink
Fixed a few things with statics file
Browse files Browse the repository at this point in the history
  • Loading branch information
rigoneri committed Sep 9, 2013
1 parent 4db2266 commit bf8f7a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions syte/syte_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@

if DEPLOYMENT_MODE == 'dev':
SITE_ROOT_URI = 'http://127.0.0.1:8000/'
ALLOWED_HOSTS = ['*']
DEBUG = True
else:
DEBUG = False
ALLOWED_HOSTS = ['rigoneri.herokuapp.com']
SITE_ROOT_URI = '[ENTER PROD URL HERE] ex. http://rigoneri.herokuapp.com/'
4 changes: 2 additions & 2 deletions syte/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<link rel="stylesheet/less" type="text/css" href="{% static 'less/styles.less' %}">
<script src="{% static 'less/less-1.3.1.min.js' %}" type="text/javascript"></script>
{% else %}
<link rel="stylesheet" href="/static/css/styles-{{ COMPRESS_REVISION_NUMBER }}.min.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="{% static 'css/styles-'|add:COMPRESS_REVISION_NUMBER|add:'.min.css' %}" type="text/css" media="screen, projection">
{% endif %}
</head>
<body>
Expand Down Expand Up @@ -117,7 +117,7 @@ <h3><a href="/">rigoneri.com</a></h3>
{% if FLICKR_INTEGRATION_ENABLED %}<script src="{% static 'js/components/flickr.js'%}"></script>{% endif %}
{% if LINKEDIN_INTEGRATION_ENABLED %}<script src="{% static 'js/components/linkedin.js'%}"></script>{% endif %}
{% else %}
<script src="/js/min/scripts-{{ COMPRESS_REVISION_NUMBER }}.min.js"></script>
<script src="{% static 'js/min/scripts-'|add:COMPRESS_REVISION_NUMBER|add:'.min.js'%}"></script>
{% endif %}

{% if SHARETHIS_PUBLISHER_KEY %}
Expand Down

0 comments on commit bf8f7a9

Please sign in to comment.