Skip to content

Commit

Permalink
Removed trailing slash from MQTT endpoint (#2083)
Browse files Browse the repository at this point in the history
  • Loading branch information
byteneumann authored Jan 7, 2025
1 parent 8e43363 commit f8a7124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm/frost-server/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ Get the MQTT Websock-Path.
*/}}
{{- define "frost-server.mqtt.websockPath" -}}
{{- if not .Values.frost.mqtt.urlSubPath | empty -}}
{{- printf "/%s/" .Values.frost.mqtt.urlSubPath | replace "//" "/" -}}
{{- printf "/%s" .Values.frost.mqtt.urlSubPath | replace "//" "/" -}}
{{- else -}}
{{- printf "/mqtt/" -}}
{{- printf "/mqtt" -}}
{{- end -}}
{{- end -}}

Expand Down

0 comments on commit f8a7124

Please sign in to comment.