Skip to content

Commit

Permalink
Update NFT Torrent Backend URL to production
Browse files Browse the repository at this point in the history
  • Loading branch information
brauliolomeli committed Dec 8, 2022
1 parent d2fbcc6 commit 3982122
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,11 @@ const IS_PORTABLE = isPortable()
const UI_HEADER_HEIGHT = 38
const UI_TORRENT_HEIGHT = 100

const envSettings = {
const envSettings = IS_PRODUCTION ? {
apiBase: 'https://prod.nft-torrent-backend.graviton.xyz'
} : {
apiBase: 'https://dev.nft-torrent-backend.graviton.xyz'
};
// const envSettings = IS_PRODUCTION ? {
// apiBase: 'https://nft-torrent-backend.graviton.xyz'
// } : {
// apiBase: 'https://dev.nft-torrent-backend.graviton.xyz'
// };

const gravitonApp = IS_PRODUCTION ? 'https://app.graviton.xyz/torrent' : 'https://dev.app.graviton.xyz/torrent';

Expand Down

0 comments on commit 3982122

Please sign in to comment.