Fix integration test: add missing CORS_ORIGIN env var
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.
This commit is contained in:
parent
40ac047629
commit
b94018c11e
1 changed files with 1 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ export DEFAULT_RELAYS="wss://relay.damus.io"
|
||||||
export INDEXER_RELAYS="wss://purplepag.es"
|
export INDEXER_RELAYS="wss://purplepag.es"
|
||||||
export SEARCH_RELAYS="wss://relay.nostr.band"
|
export SEARCH_RELAYS="wss://relay.nostr.band"
|
||||||
export PORT="$PORT"
|
export PORT="$PORT"
|
||||||
|
export CORS_ORIGIN="$BASE_URL"
|
||||||
export DATA_DIR="$PROJECT_DIR/test-data"
|
export DATA_DIR="$PROJECT_DIR/test-data"
|
||||||
|
|
||||||
mkdir -p "$DATA_DIR"
|
mkdir -p "$DATA_DIR"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue