Skip to content

Commit

Permalink
Merge pull request #798 from UofT-Frosh-Orientation/beta-patch-1
Browse files Browse the repository at this point in the history
Update app.js
  • Loading branch information
ashleyleal authored Jul 4, 2024
2 parents 0c287a4 + 8281eb5 commit 34e0394
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ const corsOptions = {
};

app.use(cors(corsOptions));
app.options('*', cors(corsOptions)); // handle preflight requests for all routes


app.use('/payment/stripe-callback', bodyParser.raw({ type: '*/*' }));
app.use(bodyParser.json());
Expand Down

0 comments on commit 34e0394

Please sign in to comment.