Skip to content

Commit

Permalink
adding the root /
Browse files Browse the repository at this point in the history
  • Loading branch information
kiquetal committed Apr 15, 2024
1 parent 961fbb7 commit dfda8b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
const axios = require('axios');
const fastify = require('fastify')({logger:true});

fastify.get('/',async (request,reply) => {
reply.code(200).send({"message":"ok"})

});

fastify.get('/token', async (request, reply) => {
const clientId = process.env.CLIENT_ID;
Expand Down

0 comments on commit dfda8b5

Please sign in to comment.