typokign / matrix-chart

Helm chart for deploying a Matrix homeserver stack
MIT License
88 stars 47 forks source link

baseURL bind for discord bridge results in double protocol #31

Closed Routhinator closed 4 years ago

Routhinator commented 4 years ago

The helper that defines baseURL prepends the protocol:

{{/*
Synapse hostname prepended with https:// to form a complete URL
*/}}
{{- define "matrix.baseUrl" -}}

However the bridge-discord prepends https:// hardcoded in the configmap:

homeserverUrl: "https://{{ include "matrix.baseUrl" . }}"

Resulting config:

homeserverUrl: "https://https://matrix.routh.io"

I'm having issues getting this bridge to work at all.. this is the only thing I can see wrong..