Fixed docs path
This commit is contained in:
parent
5d3dc89766
commit
100133b21c
|
@ -29,7 +29,11 @@ public class Docs {
|
|||
|
||||
String pathInfo = req.getPathInfo();
|
||||
try {
|
||||
|
||||
|
||||
if (pathInfo.endsWith("/docs")) {
|
||||
pathInfo += "/index.html";
|
||||
}
|
||||
|
||||
if (pathInfo.endsWith("/docs/")) {
|
||||
pathInfo += "index.html";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue