Skip to content

Commit

Permalink
Update cors
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishraj09 committed Nov 10, 2024
1 parent b366fde commit f384095
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const corsOptions = {
};

app.use(express.json());
app.use(cors(corsOptions));

const https = require("https");
const agent = new https.Agent({
Expand Down

0 comments on commit f384095

Please sign in to comment.