fix(web): whiteboard config.js syntax error (#1851)

pull/1850/head^2
Aaron van Meerten 4 months ago committed by GitHub
parent 811518b8be
commit fcb90baf98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      web/rootfs/defaults/settings-config.js

@ -554,7 +554,7 @@ config.e2eping.maxMessagePerSecond = {{ .Env.E2EPING_MAX_MESSAGE_PER_SECOND }};
config.whiteboard = {
enabled: {{ $WHITEBOARD_ENABLED }},
{{ if .Env.WHITEBOARD_COLLAB_SERVER_PUBLIC_URL -}}
collabServerBaseUrl: '{{ .Env.WHITEBOARD_COLLAB_SERVER_PUBLIC_URL }}';
collabServerBaseUrl: '{{ .Env.WHITEBOARD_COLLAB_SERVER_PUBLIC_URL }}'
{{ else if .Env.WHITEBOARD_COLLAB_SERVER_URL_BASE -}}
collabServerBaseUrl: '{{ $PUBLIC_URL }}'
{{ end -}}

Loading…
Cancel
Save