mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 08:02:54 +11:00
Use https:// for jquery script download by default.
Google offers SSL for the resource, so we might as well use that as the default to cut off MITM angles.
This commit is contained in:
parent
f76292da69
commit
fd4beeec73
1 changed files with 1 additions and 1 deletions
|
@ -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'),
|
||||
}
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue