From be85f682a0053ab7c8ec527f89f085c98f97a0bb Mon Sep 17 00:00:00 2001 From: "michele.artini" Date: Fri, 9 Sep 2022 11:01:51 +0200 Subject: [PATCH] swagger controller --- .../src/main/java/eu/dnetlib/SwaggerController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dnet-exporter-api/src/main/java/eu/dnetlib/SwaggerController.java b/apps/dnet-exporter-api/src/main/java/eu/dnetlib/SwaggerController.java index b53bbbc4..78485b1d 100644 --- a/apps/dnet-exporter-api/src/main/java/eu/dnetlib/SwaggerController.java +++ b/apps/dnet-exporter-api/src/main/java/eu/dnetlib/SwaggerController.java @@ -7,10 +7,10 @@ import org.springframework.web.bind.annotation.RequestMapping; public class SwaggerController { @RequestMapping(value = { - "/", "/docs", "swagger-ui.html" + "/", "/docs", "swagger-ui.html", "swagger-ui/" }) public String index() { - return "redirect:swagger-ui/"; + return "redirect:swagger-ui/index.html"; } }