Fixed docs path
This commit is contained in:
parent
5d3dc89766
commit
100133b21c
|
@ -30,6 +30,10 @@ 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