Trying to fix path
This commit is contained in:
parent
e771cdda4c
commit
860050139d
|
@ -23,7 +23,7 @@ public class ApiDocs {
|
||||||
private static Logger logger = LoggerFactory.getLogger(ApiDocs.class);
|
private static Logger logger = LoggerFactory.getLogger(ApiDocs.class);
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
@Path("{.*}")
|
@Path("{any:.*}")
|
||||||
public InputStream toDoc(@Context HttpServletRequest req) throws WebApplicationException {
|
public InputStream toDoc(@Context HttpServletRequest req) throws WebApplicationException {
|
||||||
logger.trace("Called method to redirect to api-docs/index.html");
|
logger.trace("Called method to redirect to api-docs/index.html");
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ public class Docs {
|
||||||
private static Logger logger = LoggerFactory.getLogger(Docs.class);
|
private static Logger logger = LoggerFactory.getLogger(Docs.class);
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
@Path("{any: .*}")
|
@Path("{any:.*}")
|
||||||
public InputStream toDoc(@Context HttpServletRequest req) throws WebApplicationException {
|
public InputStream toDoc(@Context HttpServletRequest req) throws WebApplicationException {
|
||||||
logger.trace("Called method to redirect to docs/index.html");
|
logger.trace("Called method to redirect to docs/index.html");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue