Added comments

This commit is contained in:
2021-08-16 15:19:04 +02:00
parent 2fa520fdde
commit d51c58867d

View File

@@ -201,6 +201,7 @@ fastify.post('/api/register', async (req, res) => {
return "Done!" return "Done!"
}); });
//Anything in here has some kind of auth
fastify.after(() => { fastify.after(() => {
//Get url api route //Get url api route
fastify.get('/api/:shortcode/visits', { onRequest: fastify.basicAuth }, async (req, res) => { fastify.get('/api/:shortcode/visits', { onRequest: fastify.basicAuth }, async (req, res) => {