Skip to content

Commit

Permalink
Dropped CORS for sgmotortrends.com domain
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchernchong committed Oct 16, 2024
1 parent 2ff66d1 commit 06cf975
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sst.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ const CORS = {
allowOrigins: ["*"],
},
prod: {
allowOrigins: [
`https://${DOMAIN_NAME}`,
// TODO: To be removed
"https://sgmotortrends.com",
],
allowOrigins: [`https://${DOMAIN_NAME}`],
maxAge: "1 day",
},
};
Expand Down

0 comments on commit 06cf975

Please sign in to comment.