From b94018c11efec79e0eefd25b7e0af0bab56700c8 Mon Sep 17 00:00:00 2001 From: Agent Date: Mon, 14 Sep 2026 13:07:16 -0400 Subject: [PATCH] Fix integration test: add missing CORS_ORIGIN env var MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The test was failing because src/env.ts requires CORS_ORIGIN to be set, but the integration test never exported it. This is a pre-existing setup gap exposed by running the test — not a NIP-98 regression. --- test/integration.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration.sh b/test/integration.sh index 17ed3c5..c21a0d4 100644 --- a/test/integration.sh +++ b/test/integration.sh @@ -75,6 +75,7 @@ export DEFAULT_RELAYS="wss://relay.damus.io" export INDEXER_RELAYS="wss://purplepag.es" export SEARCH_RELAYS="wss://relay.nostr.band" export PORT="$PORT" +export CORS_ORIGIN="$BASE_URL" export DATA_DIR="$PROJECT_DIR/test-data" mkdir -p "$DATA_DIR"