Added new static
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
choelzl 2022-05-16 10:22:56 +02:00
parent c1b1081b10
commit 567add501b
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -7,9 +7,9 @@ const HOST = '0.0.0.0';
const fastify = require('fastify')()
const path = require('path')
// fastify.register(require('@fastify/static'), {
// root: path.join(__dirname),
// })
fastify.register(require('@fastify/static'), {
root: path.join(__dirname),
})
fastify.get('/', function (req, reply) {
return reply.sendFile('index.html');