ENV Changes.
This commit is contained in:
@@ -28,7 +28,7 @@ import JobsShow from "../jobs/jobs.show";
|
|||||||
const httpLink = new HttpLink({
|
const httpLink = new HttpLink({
|
||||||
uri: process.env.REACT_APP_GRAPHQL_ENDPOINT,
|
uri: process.env.REACT_APP_GRAPHQL_ENDPOINT,
|
||||||
headers: {
|
headers: {
|
||||||
"x-hasura-admin-secret": `Dev-BodyShopAppBySnaptSoftware!`,
|
"x-hasura-admin-secret": `Dev-BodyShopApp!`,
|
||||||
// 'Authorization': `Bearer xxxx`,
|
// 'Authorization': `Bearer xxxx`,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -67,7 +67,7 @@ const client = new ApolloClient({
|
|||||||
// uri: process.env.REACT_APP_GRAPHQL_ENDPOINT,
|
// uri: process.env.REACT_APP_GRAPHQL_ENDPOINT,
|
||||||
// cache: new InMemoryCache(),
|
// cache: new InMemoryCache(),
|
||||||
// headers: {
|
// headers: {
|
||||||
// "x-hasura-admin-secret": `Dev-BodyShopAppBySnaptSoftware!`,
|
// "x-hasura-admin-secret": `Dev-BodyShopApp!`,
|
||||||
// // 'Authorization': `Bearer xxxx`,
|
// // 'Authorization': `Bearer xxxx`,
|
||||||
// },
|
// },
|
||||||
// });
|
// });
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
Must set the environment variables using:
|
Must set the environment variables using:
|
||||||
|
|
||||||
firebase functions:config:set auth.graphql_endpoint="https://bodyshop-dev-db.herokuapp.com/v1/graphql" auth.hasura_secret_admin_key="Dev-BodyShopAppBySnaptSoftware!"
|
firebase functions:config:set auth.graphql_endpoint="https://bodyshop-dev-db.herokuapp.com/v1/graphql" auth.hasura_secret_admin_key="Dev-BodyShopApp!"
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
endpoint: https://bodyshop-dev-db.herokuapp.com
|
endpoint: https://bodyshop-dev-db.herokuapp.com
|
||||||
admin_secret: Dev-BodyShopAppBySnaptSoftware!
|
admin_secret: Dev-BodyShopApp!
|
||||||
|
|||||||
Reference in New Issue
Block a user