Skip to content

Commit 121b225

Browse files
committed
tools: env-generator: handle ENABLE_SSL value cases ( lower, upper, ...)
1 parent 368bb1d commit 121b225

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/env-generator/src/templates/.env.liquid

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[public]
2-
{% if context['ENABLE_SSL'] == 'true' %}
2+
{% assign enable_ssl = context['ENABLE_SSL'] | downcase %}
3+
{% if enable_ssl == 'true' %}
34
NEXT_PUBLIC_WEBUI_HOST=https://{{ context["HOSTNAME"] }}
45
{% else %}
56
NEXT_PUBLIC_WEBUI_HOST=http://{{ context["HOSTNAME"] }}

0 commit comments

Comments
 (0)