mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-02 03:00:32 -04:00
changin' variable name to see if it is passed 🏈
This commit is contained in:
committed by
Alec LaLonde
parent
1609981ac9
commit
89c027e478
@@ -1,8 +1,10 @@
|
||||
export const CONFIG = {
|
||||
graphqlURL: ((() => {
|
||||
const { NEXT_PUBLIC_GRAPHQL_URL: url, GRAPHQL_HOST: host } = (
|
||||
process.env
|
||||
)
|
||||
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`;
|
||||
|
||||
@@ -54,7 +54,7 @@ services:
|
||||
envVars:
|
||||
- key: NODE_VERSION
|
||||
value: 12.18.3
|
||||
- key: GRAPHQL_HOST
|
||||
- key: NODE_PUBLIC_GRAPHQL_HOST
|
||||
fromService:
|
||||
name: hasura
|
||||
type: web
|
||||
|
||||
Reference in New Issue
Block a user