Created
November 5, 2021 12:00
-
-
Save snigo/bed8e14531b91170f84fe8ff09d67737 to your computer and use it in GitHub Desktop.
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
function handleRequest(req, res) { | |
/** React on GET request */ | |
} | |
router.get('/api/topic/:id', handleRequest); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment