From 51c925a20ab016f3eff522e6de2bf3f5c607ccc1 Mon Sep 17 00:00:00 2001 From: Darren Date: Wed, 19 Sep 2012 01:29:13 +0100 Subject: [PATCH] Firefox kiwiServer detection fix --- client_backbone/dev/model_application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_backbone/dev/model_application.js b/client_backbone/dev/model_application.js index 4af03ba..73c871f 100644 --- a/client_backbone/dev/model_application.js +++ b/client_backbone/dev/model_application.js @@ -78,7 +78,7 @@ kiwi.model.Application = Backbone.Model.extend(new (function () { 'https' : 'http'; - this.kiwi_server = proto + '://' + window.location.host + ':' + (window.location.port || '80'); + this.kiwi_server = proto + '://' + window.location.hostname + ':' + (window.location.port || '80'); } }; -- 2.25.1