Skip to content

Commit

Permalink
CORS origin
Browse files Browse the repository at this point in the history
  • Loading branch information
micklerj committed May 12, 2024
1 parent 72f6339 commit f8a96cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ connectDB();
const corsOptions = {
//origin: 'http://localhost:3000',
//origin: 'https://pdf-gpt.netlify.app',
origin: 'http://gpt4pdfs.com/',
origin: 'https://gpt4pdfs.com',
credentials: true,
};
app.use(cors(corsOptions));
Expand Down

0 comments on commit f8a96cc

Please sign in to comment.