Created
July 14, 2022 06:05
-
-
Save Joshscorp/15fd71c802571cc86ec70a63f28492a8 to your computer and use it in GitHub Desktop.
OnzAuth Server.js Express
This file contains 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
app.use(cors()); | |
app.use('/adminInfo', async (req, res) => { | |
// Code Here | |
}); | |
app.listen(8080, () => console.log('API is running on http://localhost:8080/adminInfo')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment