Added comments

This commit is contained in:
Nicolai Ort 2021-08-16 15:19:04 +02:00
parent 2fa520fdde
commit d51c58867d
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 1 additions and 0 deletions

View File

@ -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) => {