Add NextJS environment vars and remove app-react from Render build

This commit is contained in:
Hammad Jutt
2020-08-16 22:39:48 -06:00
parent f05f69ddc2
commit 78ee9e156c
3 changed files with 11 additions and 17 deletions

6
packages/web/config.ts Normal file
View File

@@ -0,0 +1,6 @@
export const CONFIG = {
graphqlURL:
process.env.NEXT_PUBLIC_GRAPHQL_URL || 'http://localhost:8080/v1/graphql',
infuraId:
process.env.NEXT_PUBLIC_INFURA_ID || '781d8466252d47508e177b8637b1c2fd',
};