This commit is contained in:
Luiz H. R. Silva 2024-06-13 11:34:00 -03:00
parent 1f88391c38
commit 6e9b668af9
2 changed files with 2 additions and 2 deletions

View file

@ -118,7 +118,7 @@ gerar.then(() => {
// 404 // 404
fastify.setNotFoundHandler((request, reply) => { fastify.setNotFoundHandler((request, reply) => {
const html404 = fs.readFileSync( const html404 = fs.readFileSync(
estaticos("node_modules").html["404.html"], path.join(process.cwd(), estaticos("relativo").html["404.html"]),
"utf8", "utf8",
); );

View file

@ -1,6 +1,6 @@
{ {
"name": "p-estaticos", "name": "p-estaticos",
"version": "0.39.0", "version": "0.40.0",
"description": "", "description": "",
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {