Commits

Hong Minhee  committed 2c61b21

HTTPS support.

  • Participants
  • Parent commits 8418aa7

Comments (0)

Files changed (1)

File irclog/web/templates/basic/base.html

     <meta charset="utf-8">
     <title>{% block title -%} irclog {%- endblock %}</title>
     <!--[if lt IE 9]>
-      <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+      <script src="{{ __environ__['wsgi.url_scheme'] -}}
+                   ://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
     <![endif]-->
     <link rel="stylesheet" type="text/css" media="screen"
           href="{{ 'style.css'|url }}">
     <link rel="shortcut icon" href="{{ 'favicon.ico'|url }}" />
-    <script
-      src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">
+    <script src="{{ __environ__['wsgi.url_scheme'] -}}
+                 ://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">
     </script>
   </head>
   <body>