From 78435884119a3bed723e3f7dd47e26319adfdb4e Mon Sep 17 00:00:00 2001 From: Howard Tam Date: Sat, 10 Dec 2022 10:01:14 -0800 Subject: [PATCH] Update env name --- .gitignore | 2 ++ src/App.js | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) 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);