Commit 93a2aad69c1b85ccabc50dccc7cecde773378387
1 parent
8ae649f4
Exists in
master
and in
10 other branches
removing url parameters
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
index.html
@@ -305,11 +305,13 @@ | @@ -305,11 +305,13 @@ | ||
305 | var base = window.location.href; | 305 | var base = window.location.href; |
306 | var host = window.location.host; | 306 | var host = window.location.host; |
307 | var regex = new RegExp(".*" + host + '/', "g"); | 307 | var regex = new RegExp(".*" + host + '/', "g"); |
308 | + | ||
308 | if(host){ | 309 | if(host){ |
309 | base = base.replace(regex,''); | 310 | base = base.replace(regex,''); |
310 | }else{ | 311 | }else{ |
311 | base = base.replace('index.html',''); | 312 | base = base.replace('index.html',''); |
312 | } | 313 | } |
314 | + base = removeUrlParameters(base); | ||
313 | 315 | ||
314 | require.config({ | 316 | require.config({ |
315 | baseUrl: ( base + '/js/'), | 317 | baseUrl: ( base + '/js/'), |