fixing path

This commit is contained in:
Francesco Mangiacrapa 2022-03-24 16:15:27 +01:00
parent bcf5cdd56c
commit cfc9ad0c49
1 changed files with 1 additions and 9 deletions

View File

@ -30,7 +30,7 @@ public class UriResolverDocs {
@GET
@Produces({ MediaType.TEXT_HTML })
@Path("/")
@Path("")
public InputStream index(@Context HttpServletRequest req) throws WebApplicationException {
logger.info(UriResolverDocs.class.getSimpleName() + " called");
@ -58,13 +58,5 @@ public class UriResolverDocs {
throw (WebApplicationException) e;
}
}
@GET
@Produces({ MediaType.TEXT_HTML })
@Path("")
public InputStream toDoc1(@Context HttpServletRequest req) throws WebApplicationException {
logger.info(UriResolverDocs.class.getSimpleName() + " toDoc1 called");
return index(req);
}
}