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 | 305 | var base = window.location.href; |
306 | 306 | var host = window.location.host; |
307 | 307 | var regex = new RegExp(".*" + host + '/', "g"); |
308 | + | |
308 | 309 | if(host){ |
309 | 310 | base = base.replace(regex,''); |
310 | 311 | }else{ |
311 | 312 | base = base.replace('index.html',''); |
312 | 313 | } |
314 | + base = removeUrlParameters(base); | |
313 | 315 | |
314 | 316 | require.config({ |
315 | 317 | baseUrl: ( base + '/js/'), | ... | ... |