This commit is contained in:
@@ -3,12 +3,12 @@ const path = require('path');
|
||||
|
||||
const csass = require("./compile_sass").compileSassMain();
|
||||
|
||||
fastify.register(require('fastify-static'), {
|
||||
fastify.register(require('@fastify/static'), {
|
||||
root: path.join(__dirname, 'public'),
|
||||
prefix: '/public/',
|
||||
});
|
||||
|
||||
fastify.register(require('fastify-leveldb'), {
|
||||
fastify.register(require('@fastify/leveldb'), {
|
||||
name: 'db'
|
||||
}, err => {
|
||||
if (err) throw err
|
||||
|
Reference in New Issue
Block a user