Browse Source

Merge branch 'master' of git.rezo-rm.fr:BDEMetz/bde-liste

master
johan 3 years ago
parent
commit
b18d476c8c
  1. 4
      index.js

4
index.js

@ -41,10 +41,6 @@ fastify.register(require('@fastify/static'), {
decorateReply: false decorateReply: false
}) })
fastify.get('/', async (request, reply) => {
reply.redirect('/index.html')
})
fastify.post('/login', async (request, reply) => { fastify.post('/login', async (request, reply) => {
let content = request.body; let content = request.body;
if (content.hasOwnProperty("user") if (content.hasOwnProperty("user")

Loading…
Cancel
Save