From a769e46cc0a3cfa0c368a4924395b8819b839725 Mon Sep 17 00:00:00 2001 From: Jack Allnutt Date: Wed, 28 Sep 2011 08:58:39 +0100 Subject: [PATCH] Use protocol-relative URLs for loading external scripts (i.e. jQuery) so all resources are loaded over SSL when enabled --- node/client/index.html.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/client/index.html.jade b/node/client/index.html.jade index 4b9fc2d..a59c171 100644 --- a/node/client/index.html.jade +++ b/node/client/index.html.jade @@ -101,8 +101,8 @@ html(lang="en-gb") a.reload_css Reload CSS script(type="text/javascript", src="/socket.io/socket.io.js") - script(type="text/javascript", src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js") - script(type="text/javascript", src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js") + script(type="text/javascript", src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js") + script(type="text/javascript", src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js") script(type="text/javascript", src="/js/jquery.json-2.2.min.js") - if (debug) -- 2.25.1