Merge pull request #80 from ferringb/master

Use https:// for jquery script download by default.
This commit is contained in:
Martin Mahner 2016-08-09 22:55:07 +02:00 committed by GitHub
commit 81175e4d43

View file

@ -26,7 +26,7 @@ from .models import ONETIME_LIMIT, Snippet
template_globals = {
'site_name': getattr(settings, 'DPASTE_SITE_NAME', 'dpaste.de'),
'jquery_url': getattr(settings, 'DPASTE_JQUERY_URL',
'//ajax.googleapis.com/ajax/libs/jquery/1/jquery.js'),
'https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js'),
}
# -----------------------------------------------------------------------------