changin' variable name to see if it is passed 🏈

This commit is contained in:
Will Holcomb
2021-03-19 08:57:07 -04:00
committed by Alec LaLonde
parent 1609981ac9
commit 89c027e478
2 changed files with 6 additions and 4 deletions

View File

@@ -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`;

View File

@@ -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