Skip to content

Commit

Permalink
vercel added
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadshahidbeigh committed Oct 21, 2024
1 parent 0611ffa commit 6ef92d2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mindvault-backend/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const app: Application = express();
// Enable CORS with specific origin
app.use(
cors({
origin: "http://43.205.10.7:3000",
origin: ["http://43.205.10.7:3000", "https://mindvault-eta.vercel.app"],
credentials: true,
})
);
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: "http://43.205.10.7:4000/graphql"}), // Replace with your GraphQL API URL
new HttpLink({uri: "https://mindvault-eta.vercel.app/graphql"}), // Updated GraphQL API URL
]),
cache: new InMemoryCache(),
});
Expand Down
4 changes: 2 additions & 2 deletions src/views/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ const Home: React.FC = () => {
paragraph
color="text.secondary"
>
Your personal knowledge base for articles, research papers, books
and more.
Your personal knowledge base for articles, research papers, and
more.
</Typography>
</motion.div>
<Button
Expand Down

0 comments on commit 6ef92d2

Please sign in to comment.