Skip to content

Commit

Permalink
修改配置项
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Apr 14, 2014
1 parent 4aca3e9 commit 285036c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _src/core/finder.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ var Finder = UF.Finder = UF.createClass('Finder', {
return lang;
},
getRealPath: function (path) {
return (this.serverOption.realRootUrl + path).replace('//', '/');
return (this.serverOption.realRootUrl + path).replace(/([^:])\/\//g, '$1/');
}
});
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@
"grunt": "~0.4.1",
"grunt-contrib-concat": "~0.3.0",
"grunt-contrib-uglify": "~0.2.6",
"grunt-regarde": "latest",
"grunt-contrib-connect": "latest",
"grunt-contrib-livereload": "latest"
"grunt-contrib-cssmin": "~0.6.0",
"grunt-contrib-copy": "~0.4.0",
"grunt-regarde": "0.4.13",
"grunt-contrib-connect": "0.7.1",
"grunt-contrib-livereload": "0.1.2"
}

}

0 comments on commit 285036c

Please sign in to comment.