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
fastify.setNotFoundHandler((request, reply) => {
const html404 = fs.readFileSync(
estaticos("node_modules").html["404.html"],
path.join(process.cwd(), estaticos("relativo").html["404.html"]),
"utf8",
);