update references to use // instaed of http:// where possible
This commit is contained in:
parent
db877f0c2e
commit
db006d58d6
3 changed files with 4 additions and 4 deletions
|
@ -6,5 +6,5 @@ socket=/tmp/woodwind.sock
|
||||||
chmod-socket=666
|
chmod-socket=666
|
||||||
module=woodwind.wsgi
|
module=woodwind.wsgi
|
||||||
import=timers
|
import=timers
|
||||||
attach-daemon=rqworker
|
attach-daemon=venv/bin/rqworker
|
||||||
attach-daemon=python -m woodwind.websocket_server
|
attach-daemon=venv/bin/python -m woodwind.websocket_server
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='style.css', version='2015-02-19') }}"/>
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css', version='2015-02-19') }}"/>
|
||||||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"/>
|
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"/>
|
||||||
<script src="http://code.jquery.com/jquery-2.1.3.min.js"></script>
|
<script src="//code.jquery.com/jquery-2.1.3.min.js"></script>
|
||||||
|
|
||||||
{% block head %}{% endblock %}
|
{% block head %}{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -365,7 +365,7 @@ def domain_for_url(url):
|
||||||
@views.app_template_filter()
|
@views.app_template_filter()
|
||||||
def favicon_for_url(url):
|
def favicon_for_url(url):
|
||||||
parsed = urllib.parse.urlparse(url)
|
parsed = urllib.parse.urlparse(url)
|
||||||
return 'http://www.google.com/s2/favicons?domain={}'.format(parsed.netloc)
|
return '//www.google.com/s2/favicons?domain={}'.format(parsed.netloc)
|
||||||
|
|
||||||
|
|
||||||
@views.app_template_filter()
|
@views.app_template_filter()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue