Skip to content

Commit de5e8c9

Browse files
authored
Make the port number consistent
1 parent 918571b commit de5e8c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ import reportWebVitals from './reportWebVitals';
1919

2020
// Create an http link:
2121
const httpLink = new HttpLink({
22-
uri: 'http://localhost:5001/graphql',
22+
uri: 'http://localhost:4000/graphql',
2323
});
2424

2525
// Create a WebSocket link:
2626
const wsLink = new GraphQLWsLink(createClient({
27-
url: 'ws://localhost:5001/graphql',
27+
url: 'ws://localhost:4000/graphql',
2828
options: { reconnect: true },
2929
}));
3030

0 commit comments

Comments
 (0)