Skip to content

Instantly share code, notes, and snippets.

@Joshscorp
Created July 14, 2022 06:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Joshscorp/15fd71c802571cc86ec70a63f28492a8 to your computer and use it in GitHub Desktop.
Save Joshscorp/15fd71c802571cc86ec70a63f28492a8 to your computer and use it in GitHub Desktop.
OnzAuth Server.js Express
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