Upgraded modules
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
soraefir 2023-06-14 15:06:57 +02:00
parent 98e729bdd6
commit b735dcc0b8
Signed by: sora
GPG Key ID: A362EA0491E2EEA0
3 changed files with 820 additions and 746 deletions

View File

@ -5,7 +5,8 @@
"main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
"start": "node server.js",
"demon": "nodemon server.js"
},
"repository": {
"type": "git",
@ -14,11 +15,12 @@
"author": "",
"license": "ISC",
"dependencies": {
"axios": "latest",
"fastify": "latest",
"fastify-leveldb": "latest",
"fastify-static": "latest",
"mkdirp": "latest",
"node-sass": "latest"
"@fastify/leveldb": "^5.0.1",
"@fastify/static": "^6.10.2",
"axios": "^1.4.0",
"fastify": "^4.18.0",
"mkdirp": "^3.0.1",
"node-sass": "^9.0.0",
"nodemon": "^2.0.22"
}
}

View File

@ -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

1546
yarn.lock

File diff suppressed because it is too large Load Diff