Skip to content

Commit

Permalink
make app work on any website
Browse files Browse the repository at this point in the history
  • Loading branch information
meeDamian committed Apr 15, 2019
1 parent f66f66f commit 0823c13
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
// DOMAIN points to the host name where invoicer resides
// DOMAIN points to the host name where invoicer and lnd reside
export const DOMAIN = 'meedamian.ddns.net';

// INVOICER_PORT defines port on which invoicer listens
export const INVOICER_PORT = 2048;

// following URLs define relevant Invoicer's API endpoins
export const PAYMENT_URL = `http://${DOMAIN}:${INVOICER_PORT}/api/payment`;
export const INFO_URL = `http://${DOMAIN}:${INVOICER_PORT}/api/info`;
// following URLs define relevant Invoicer's API endpoints
export const PAYMENT_URL = `/api/payment`;
export const INFO_URL = `/api/info`;

// Used in Invoice descriptions, as well as header of the website
export const RECIPIENT = 'LNCM';
Expand Down

0 comments on commit 0823c13

Please sign in to comment.