Skip to content

Commit f7b4b22

Browse files
authored
Merge pull request #1916 from gbudinov/bugfix/issue-with-ui-apidoc
Fix issues with trailing slash on ui and apidoc
2 parents a05c743 + d819864 commit f7b4b22

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

deployment/helm/ditto/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ description: |
1616
A digital twin is a virtual, cloud based, representation of his real world counterpart
1717
(real world “Things”, e.g. devices like sensors, smart heating, connected cars, smart grids, EV charging stations etc).
1818
type: application
19-
version: 3.6.0 # chart version is effectively set by release-job
19+
version: 3.6.1 # chart version is effectively set by release-job
2020
appVersion: 3.5.3
2121
keywords:
2222
- iot-chart

deployment/helm/ditto/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,8 @@ ingress:
409409
add_header "X-Content-Type-Options" "nosniff" always;
410410
add_header "X-Frame-Options" "SAMEORIGIN" always;
411411
add_header "X-XSS-Protection" "1; mode=block" always;
412+
rewrite ^(/ui)$ $1/ permanent;
413+
rewrite ^(/apidoc)$ $1/ permanent;
412414
# devops the /devops, /api/2/connections, /status and /health commands Ingress configuration
413415
devops:
414416
# paths configures ingress paths

0 commit comments

Comments
 (0)