mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
!1108 修复 RootAction send404 抛异常
Merge pull request !1108 from lzpeng723/v6-dev
This commit is contained in:
commit
1939486229
@ -85,11 +85,13 @@ public class RootAction implements Action {
|
||||
file = FileUtil.file(file, indexFileName);
|
||||
if (file.exists() && file.isFile()) {
|
||||
response.write(file);
|
||||
return;
|
||||
}
|
||||
}
|
||||
} else{
|
||||
final String name = request.getParam("name");
|
||||
response.write(file, name);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user