Trying fixing path

This commit is contained in:
Luca Frosini 2022-09-26 12:28:12 +02:00
parent 9c55c48300
commit 48c5c3f52e
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ public class ApiDocs {
private static Logger logger = LoggerFactory.getLogger(ApiDocs.class);
@GET
@Path("{any: .*}")
@Path("{.*}")
public InputStream toDoc(@Context HttpServletRequest req) throws WebApplicationException {
logger.trace("Called method to redirect to api-docs/index.html");

View File

@ -23,7 +23,7 @@ public class Docs {
private static Logger logger = LoggerFactory.getLogger(Docs.class);
@GET
@Path("{any: .*}")
@Path("{.*}")
public InputStream toDoc(@Context HttpServletRequest req) throws WebApplicationException {
logger.trace("Called method to redirect to docs/index.html");