Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
fix: build?
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Burtey committed Aug 23, 2023
1 parent bf650eb commit 56b4d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 56b4d9c

Please sign in to comment.