Update env name
This commit is contained in:
parent
c5dfc1e9af
commit
7843588411
2
.gitignore
vendored
2
.gitignore
vendored
@ -23,3 +23,5 @@ yarn-debug.log*
|
|||||||
yarn-error.log*
|
yarn-error.log*
|
||||||
|
|
||||||
.yalc
|
.yalc
|
||||||
|
|
||||||
|
.env*
|
@ -7,7 +7,8 @@ import "./App.css";
|
|||||||
window.LitJsSdk = LitJsSdk;
|
window.LitJsSdk = LitJsSdk;
|
||||||
window.ethers = ethers;
|
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() {
|
function App() {
|
||||||
const [pkpEthAddress, setPkpEthAddress] = useState(null);
|
const [pkpEthAddress, setPkpEthAddress] = useState(null);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user