bla
This commit is contained in:
parent
1b4692e701
commit
a6b6fdcd50
1 changed files with 0 additions and 4 deletions
4
index.js
4
index.js
|
@ -41,10 +41,6 @@ fastify.register(require('@fastify/static'), {
|
|||
decorateReply: false
|
||||
})
|
||||
|
||||
fastify.get('/', async (request, reply) => {
|
||||
reply.send(fs.readFileSync('./static/index.html'));
|
||||
})
|
||||
|
||||
fastify.post('/login', async (request, reply) => {
|
||||
let content = request.body;
|
||||
if (content.hasOwnProperty("user")
|
||||
|
|
Loading…
Reference in a new issue