mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
commit
611243365f
@ -73,11 +73,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…
Reference in New Issue
Block a user