Added comments
This commit is contained in:
parent
2fa520fdde
commit
d51c58867d
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in New Issue