Skip to content

Commit

Permalink
fix broken api url
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Meyer committed Jul 25, 2023
1 parent cffea66 commit 12c8d1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ensofinance/use-defi",
"version": "0.1.20",
"version": "0.1.21",
"description": "React hooks library to use with enso shortcuts infrastructure",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const USE_POSITIONS_DATA_SOURCE = 'https://enso-scrape.s3.us-east-2.amazonaws.com/output/backend/positions.json';

export const ENSO_API = process.env.ENSO_API ?? 'http://api.enso.finance';
export const ENSO_API = process.env.ENSO_API ? process.env.ENSO_API : 'http://api.enso.finance';

export const NATIVE_TOKEN_ALIAS = '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE';

0 comments on commit 12c8d1d

Please sign in to comment.