Skip to content

Commit

Permalink
fix: WhaleAdaptor的默认路径少了个反斜杠, -_-
Browse files Browse the repository at this point in the history
  • Loading branch information
wendal committed Sep 7, 2016
1 parent ed9add6 commit d3835e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/nutz/mvc/adaptor/WhaleAdaptor.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public WhaleAdaptor() {
public WhaleAdaptor(String path) {
String appRoot = Mvcs.getServletContext().getRealPath("/");
if (path.isEmpty()) {
path = "${app.root}WEB-INF/tmp/nutzupload2";
path = "${app.root}/WEB-INF/tmp/nutzupload2";
}
if (path.contains("${app.root}"))
path = path.replace("${app.root}", appRoot);
Expand Down

0 comments on commit d3835e7

Please sign in to comment.