Skip to content

Commit

Permalink
allowed all origins
Browse files Browse the repository at this point in the history
  • Loading branch information
mehulambastha committed Aug 28, 2024
1 parent fea2a94 commit c091299
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apollo-server.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ const resolvers = {


const app = express();
app.use(cors());
app.use(cors({
origin: '*',
}));


const startApolloServer = async () => {
Expand Down

0 comments on commit c091299

Please sign in to comment.