fix(config): use next.js appropriate projectId env var
This commit is contained in:
parent
54f050b2e3
commit
8db9560b72
@ -1,2 +1,2 @@
|
||||
PROJECT_ID=39bc...
|
||||
RELAY_URL=wss://relay.walletconnect.com
|
||||
NEXT_PUBLIC_PROJECT_ID=39bc...
|
||||
NEXT_PUBLIC_RELAY_URL=wss://relay.walletconnect.com
|
||||
|
@ -29,8 +29,8 @@ cp .env.local.example .env.local
|
||||
|
||||
Your `.env.local` now contains the following environment variables:
|
||||
|
||||
- `PROJECT_ID` (placeholder) - You can generate your own ProjectId at https://cloud.walletconnect.com
|
||||
- `RELAY_URL` (already set)
|
||||
- `NEXT_PUBLIC_PROJECT_ID` (placeholder) - You can generate your own ProjectId at https://cloud.walletconnect.com
|
||||
- `NEXT_PUBLIC_RELAY_URL` (already set)
|
||||
|
||||
## Develop
|
||||
|
||||
@ -49,4 +49,3 @@ yarn test
|
||||
```bash
|
||||
yarn build
|
||||
```
|
||||
|
||||
|
@ -24,7 +24,7 @@ export const DEFAULT_TEST_CHAINS = [
|
||||
|
||||
export const DEFAULT_CHAINS = [...DEFAULT_MAIN_CHAINS, ...DEFAULT_TEST_CHAINS];
|
||||
|
||||
export const DEFAULT_PROJECT_ID = process.env.NEXT_PROJECT_ID;
|
||||
export const DEFAULT_PROJECT_ID = process.env.NEXT_PUBLIC_PROJECT_ID;
|
||||
export const DEFAULT_RELAY_URL = process.env.NEXT_PUBLIC_RELAY_URL;
|
||||
|
||||
export const DEFAULT_LOGGER = "debug";
|
||||
|
Loading…
Reference in New Issue
Block a user