Added comments
This commit is contained in:
@@ -201,6 +201,7 @@ fastify.post('/api/register', async (req, res) => {
|
||||
return "Done!"
|
||||
});
|
||||
|
||||
//Anything in here has some kind of auth
|
||||
fastify.after(() => {
|
||||
//Get url api route
|
||||
fastify.get('/api/:shortcode/visits', { onRequest: fastify.basicAuth }, async (req, res) => {
|
||||
|
||||
Reference in New Issue
Block a user