Trying to fix path

This commit is contained in:
Luca Frosini 2022-09-26 14:28:35 +02:00
parent e771cdda4c
commit 860050139d
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("{.*}")
@Path("{any:.*}")
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("{any:.*}")
public InputStream toDoc(@Context HttpServletRequest req) throws WebApplicationException {
logger.trace("Called method to redirect to docs/index.html");