diff --git a/.gitignore b/.gitignore index 9d7ef65..0f4a793 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,5 @@ yarn-debug.log* yarn-error.log* .yalc + +.env* \ No newline at end of file diff --git a/src/App.js b/src/App.js index 6f05d1d..703c69f 100644 --- a/src/App.js +++ b/src/App.js @@ -7,7 +7,8 @@ import "./App.css"; window.LitJsSdk = LitJsSdk; window.ethers = ethers; -const RELAY_API_URL = process.env.RELAY_API_URL || 'http://localhost:3001'; +const RELAY_API_URL = + process.env.REACT_APP_RELAY_API_URL || "http://localhost:3001"; function App() { const [pkpEthAddress, setPkpEthAddress] = useState(null);