From e0dd03de9f4fc46083dbd3c300ae87208d115cad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 5 Oct 2013 22:54:46 +0200 Subject: [PATCH] use protocol relative url again --- source/jabber/index.html.slim | 8 +------- source/layout.slim | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/source/jabber/index.html.slim b/source/jabber/index.html.slim index 7a40b4f..eab2781 100644 --- a/source/jabber/index.html.slim +++ b/source/jabber/index.html.slim @@ -2,17 +2,11 @@ == stylesheet_link_tag "converse/converse.min.css" == javascript_include_tag "converse.min.js" javascript: - var bosh_url; - if (window.location.protocol == "https:") { - bosh_url = 'https//higgsboson.tk:5281/http-bind/' - } else {} - bosh_url = 'http//higgsboson.tk:5280/http-bind/' - } require(['converse'], function (converse) { converse.initialize({ auto_list_rooms: false, auto_subscribe: false, - bosh_service_url: bosh_url, + bosh_service_url: '://higgsboson.tk/http-bind/', hide_muc_server: false, i18n: locales.en, prebind: false, diff --git a/source/layout.slim b/source/layout.slim index 46b08e1..9b69eb4 100644 --- a/source/layout.slim +++ b/source/layout.slim @@ -34,7 +34,7 @@ html.no-js.light lang="en" meta name="twitter:image" content="http://higgsboson.tk/images/logo.png" == stylesheet_link_tag "pure-min.css" == stylesheet_link_tag "site2.css" - link href='http://fonts.googleapis.com/css?family=Maven+Pro' rel='stylesheet' type='text/css' + link href='//fonts.googleapis.com/css?family=Maven+Pro' rel='stylesheet' type='text/css' /![if IE 7] link type="text/css" rel="stylesheet" media="screen" href="/stylesheets/fontawesome-ie7.css" == yield_content :head