fixed pathInfo
This commit is contained in:
parent
baa0a3fcda
commit
27ade09793
|
@ -44,7 +44,7 @@ public class UriResolverDocs {
|
|||
logger.info("pathInfo {}", pathInfo);
|
||||
logger.info("request URI {}", requestURI);
|
||||
|
||||
String realPath = req.getServletContext().getRealPath("/docs/" + requestURI);
|
||||
String realPath = req.getServletContext().getRealPath(pathInfo);
|
||||
return new FileInputStream(new File(realPath));
|
||||
} catch (Exception e) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue