Skip to content

Commit a7f260e

Browse files
committed
web,etherpad: fix default public URL
1 parent 0cbfbfd commit a7f260e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/rootfs/defaults/settings-config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
{{ $ENABLE_TCC := .Env.ENABLE_TCC | default "true" | toBool -}}
2323
{{ $ENABLE_TRANSCRIPTIONS := .Env.ENABLE_TRANSCRIPTIONS | default "false" | toBool -}}
2424
{{ $ENABLE_JAAS_COMPONENTS := .Env.ENABLE_JAAS_COMPONENTS | default "0" | toBool }}
25+
{{ $PUBLIC_URL := .Env.PUBLIC_URL | default "https://localhost:8443" -}}
2526
{{ $RESOLUTION := .Env.RESOLUTION | default "720" -}}
2627
{{ $RESOLUTION_MIN := .Env.RESOLUTION_MIN | default "180" -}}
2728
{{ $RESOLUTION_WIDTH := .Env.RESOLUTION_WIDTH | default "1280" -}}
@@ -114,7 +115,7 @@ config.hideAddRoomButton = {{ $ENABLE_BREAKOUT_ROOMS | not }};
114115
{{ if .Env.ETHERPAD_PUBLIC_URL -}}
115116
config.etherpad_base = '{{ .Env.ETHERPAD_PUBLIC_URL }}';
116117
{{ else if .Env.ETHERPAD_URL_BASE -}}
117-
config.etherpad_base = '{{.Env.PUBLIC_URL}}/etherpad/p/';
118+
config.etherpad_base = '{{ $PUBLIC_URL }}/etherpad/p/';
118119
{{ end -}}
119120

120121

0 commit comments

Comments
 (0)