Created
April 17, 2021 14:02
-
-
Save AbhiAgarwal192/5f076698852b00be1ad0845b19e5d3cf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = (app) => { | |
app.use((req, res, next) => { | |
res.header("Access-Control-Allow-Origin", "*"); | |
next(); | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment