fixed pathInfo

This commit is contained in:
Francesco Mangiacrapa 2022-03-24 16:26:54 +01:00
parent baa0a3fcda
commit 27ade09793
1 changed files with 1 additions and 1 deletions

View File

@ -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) {