去掉url最后的斜杠

pull/23/head
taoshihan1991 4 years ago
parent d116ee8cb7
commit be851fc49f

@ -21,7 +21,7 @@ GOFLY.init=function(config){
}
if (typeof config.GOFLY_URL!="undefined"){
this.GOFLY_URL=config.GOFLY_URL;
this.GOFLY_URL=config.GOFLY_URL.replace(/([\w\W]+)\/$/,"$1");
}
this.dynamicLoadCss(this.GOFLY_URL+"/static/css/gofly-front.css?v=1");

Loading…
Cancel
Save