mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-01-25 14:17:56 -05:00
* upgraded storybook dependencies * upgraded web dependencies * updated timezone selector * upgrade chakra in metamaps * upgraded react-dnd in metamaps * upgraded framer-motion * fixed types in metamaps * upgraded eslint * upgraded lerna, husky and graphql * upgraded node version * removed metamaps package * fixed all eslint issues * ran yarn format to prettier format all files * updated lint-staged & husky scripts * add executable perms to pre-push scripts * updated yarn.lock * fixed eslint and moved chakra icons to ds * fixed emotion errors * removed extra useContext * update yarn.lock * upgraded more packages * removed unnecessary .huskyrc.json * lint fix
25 lines
815 B
TypeScript
25 lines
815 B
TypeScript
export const CONFIG = {
|
|
graphqlURL: (() => {
|
|
const {
|
|
NEXT_PUBLIC_GRAPHQL_URL: url,
|
|
NEXT_PUBLIC_GRAPHQL_HOST: host,
|
|
} = process.env;
|
|
|
|
if (url) return url;
|
|
if (host) {
|
|
return `https://${host}.onrender.com/v1/graphql`;
|
|
}
|
|
return 'http://localhost:8080/v1/graphql';
|
|
})(),
|
|
infuraId:
|
|
process.env.NEXT_PUBLIC_INFURA_ID || '781d8466252d47508e177b8637b1c2fd',
|
|
openseaApiKey: process.env.NEXT_OPENSEA_API_KEY || undefined,
|
|
brightIdAppUrl:
|
|
process.env.NEXT_BRIGHTID_APP_URL || 'https://app.brightid.org',
|
|
brightIdNodeUrl:
|
|
process.env.NEXT_BRIGHTID_NODE_URL || 'http:%2f%2fnode.brightid.org',
|
|
discordBotClientId:
|
|
process.env.NEXT_DISCORD_BOT_CLIENT_ID || '808843072980647986',
|
|
publicUrl: process.env.NEXT_PUBLIC_VERCEL_URL || 'http://localhost:3000',
|
|
};
|