Skip to content

Commit

Permalink
vercel update 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadshahidbeigh committed Oct 21, 2024
1 parent 0f5f9c2 commit 7618305
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions mindvault-backend/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ async function startApolloServer() {
// Start Express server
const port = process.env.PORT || 4000;
app.listen({port}, () => {
console.log(
`🚀 Server ready at http://localhost:${port}${server.graphqlPath}`
);
console.log(`🚀 Server ready at http://43.205.10.7:4000/graphql`);
});
}

Expand Down
2 changes: 1 addition & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const authLink = new ApolloLink((operation, forward) => {
const client = new ApolloClient({
link: ApolloLink.from([
authLink,
new HttpLink({uri: "https://mindvault-eta.vercel.app"}), // Updated GraphQL API URL
new HttpLink({uri: "http://43.205.10.7:4000/graphql"}), // Updated GraphQL API URL
]),
cache: new InMemoryCache(),
});
Expand Down

0 comments on commit 7618305

Please sign in to comment.