From 0563ac28b89aa269ce2a854dc659542e093b7827 Mon Sep 17 00:00:00 2001 From: rek3000 Date: Tue, 5 Aug 2025 16:34:09 +0700 Subject: [PATCH] fix: parse yaml endpoints file --- configure_enclave.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure_enclave.sh b/configure_enclave.sh index e282e8f..c4a6431 100644 --- a/configure_enclave.sh +++ b/configure_enclave.sh @@ -95,7 +95,7 @@ echo "Instance will be named: $FINAL_INSTANCE_NAME" ######################################### if [ -f "src/nautilus-server/allowed_endpoints.yaml" ]; then # Use a small Python snippet to parse the YAML and emit space-separated endpoints - ENDPOINTS=$(yq e '.endpoints | join(" ")' src/nautilus-server/allowed_endpoints.yaml 2>/dev/null) + ENDPOINTS=$(yq '.endpoints[]' src/nautilus-server/allowed_endpoints.yaml 2>/dev/null) if [ -n "$ENDPOINTS" ]; then echo "Endpoints found in src/nautilus-server/allowed_endpoints.yaml (before region patching):" echo "$ENDPOINTS"