Skip to content

Commit 95a378a

Browse files
committed
Move SERVER_URL to .env
1 parent 2028ebb commit 95a378a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/client/src/graphql/client.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ const cache = new InMemoryCache()
88
const client = new ApolloClient({
99
cache,
1010
link: new HttpLink({
11-
// uri: 'https://streams-server.herokuapp.com/graphql',
12-
uri: 'http://localhost:4000/graphql',
11+
uri: process.env.SERVER_URL,
1312
}),
1413
typeDefs,
1514
})

0 commit comments

Comments
 (0)