From 56b4d9c4c134d51bd9e5d19d87c78d3428522bc5 Mon Sep 17 00:00:00 2001 From: Nicolas Burtey Date: Wed, 23 Aug 2023 11:13:25 +0100 Subject: [PATCH] fix: build? --- lib/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config.ts b/lib/config.ts index dbdc8252..a856745e 100644 --- a/lib/config.ts +++ b/lib/config.ts @@ -32,7 +32,7 @@ if (!GRAPHQL_URL || !GRAPHQL_WEBSOCKET_URL) { const NOSTR_PUBKEY = process.env.NOSTR_PUBKEY -const PAY_SERVER = GRAPHQL_URL.replace("/graphql", "").replace("api", "pay") +const PAY_SERVER = GRAPHQL_URL?.replace("/graphql", "")?.replace("api", "pay") export { GRAPHQL_URL,