Skip to content

Commit abbea48

Browse files
committed
[Backend] trim / suffix to fix double //
1 parent 45ea308 commit abbea48

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

backend/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: backend
3-
version: 0.4.0
3+
version: 0.4.1
44
description: Backend of the Snoty application suite
55
type: application
66
home: https://snoty.me
@@ -12,7 +12,7 @@ maintainers:
1212
email: SIMULATAN@proton.me
1313
url: https://github.com/SIMULATAN
1414
icon: https://avatars.githubusercontent.com/u/163506575
15-
appVersion: "0.0.1-176"
15+
appVersion: "0.0.1-242"
1616
dependencies:
1717
- name: common
1818
version: 2.x.x

backend/templates/_config.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{{- end -}}
1313
{{- end }}
1414
{{- with $.Values.ingress }}
15-
publicHost: {{ ternary "https" "http" .tls }}://{{ .hostname }}{{ .path }}
15+
publicHost: {{ ternary "https" "http" .tls }}://{{ .hostname }}{{ trimSuffix "/" .path }}
1616
{{- end }}
1717
mongodb:
1818
# if `appConfig.mongodb` is set, it overrides the config from `mongodb`.

0 commit comments

Comments
 (0)