404
This commit is contained in:
parent
1f88391c38
commit
6e9b668af9
2 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue