We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 30d426c + e8e4598 commit 58df80fCopy full SHA for 58df80f
1 file changed
scripts/core/config.sh
@@ -394,6 +394,7 @@ config_allow_lan() {
394
set_config_allow_lan() {
395
local value="$1"
396
local file="$CONFIG_DIR/template.yaml"
397
+ local mixin_file_path
398
399
case "$value" in
400
true|false) ;;
@@ -404,6 +405,13 @@ set_config_allow_lan() {
404
405
ALLOW_LAN_VALUE="$value" "$(yq_bin)" eval -i '
406
.["allow-lan"] = (env(ALLOW_LAN_VALUE) == "true")
407
' "$file"
408
+
409
+ ensure_mixin_file
410
+ mixin_file_path="$(mixin_file)"
411
+ ALLOW_LAN_VALUE="$value" "$(yq_bin)" eval -i '
412
+ .override = (.override // {}) |
413
+ .override["allow-lan"] = (env(ALLOW_LAN_VALUE) == "true")
414
+ ' "$mixin_file_path"
415
}
416
417
subscription_url_scheme() {
0 commit comments