From 93a2aad69c1b85ccabc50dccc7cecde773378387 Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Mon, 27 Apr 2015 10:45:57 -0300 Subject: [PATCH] removing url parameters --- index.html | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/index.html b/index.html index c98e4e4..0f317ab 100644 --- a/index.html +++ b/index.html @@ -305,11 +305,13 @@ var base = window.location.href; var host = window.location.host; var regex = new RegExp(".*" + host + '/', "g"); + if(host){ base = base.replace(regex,''); }else{ base = base.replace('index.html',''); } + base = removeUrlParameters(base); require.config({ baseUrl: ( base + '/js/'), -- libgit2 0.21.2