From d07e109271bacc8363458d4cd04397afec79596e Mon Sep 17 00:00:00 2001 From: eschcam Date: Wed, 14 Dec 2022 11:34:25 +0000 Subject: Add link to Swagger UI in Readme & Redirect root Turns out the default URL of http://localhost:8080/ only loads the index.html and not the other assets. Going to http://localhost:8080/swagger-ui/index.html loads everything correctly Also added a redirect for the root URL to the correct address for the Swagger UI Issue-ID: SDC-4292 Signed-off-by: eschcam Change-Id: Ibca5956d1d2f5e18ba41e623329b199c8e9db9a5 --- .../templates/default/BE-jetty-rewrite.yaml.erb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-jetty-rewrite.yaml.erb (limited to 'catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/templates') diff --git a/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-jetty-rewrite.yaml.erb b/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-jetty-rewrite.yaml.erb new file mode 100644 index 0000000000..ea0e9aa57c --- /dev/null +++ b/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-jetty-rewrite.yaml.erb @@ -0,0 +1,20 @@ + + + + + + + + /swagger-ui/index.html + + + + + + + + + + false + + -- cgit 1.2.3-korg