We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20aac12 commit d0367ecCopy full SHA for d0367ec
server.js
@@ -89,6 +89,10 @@ fastify.listen({
89
port: PORT,
90
host: "0.0.0.0",
91
});
92
+fastify.setNotFoundHandler((request, reply) => {
93
+ console.error("PAGE PUNCHED THROUGH SW - " + request.url);
94
+ reply.code(593).statusMessage("INVALID").send("punch through");
95
+});
96
console.log(`Listening on http://localhost:${PORT}/`);
97
if (!process.env.CI) {
98
try {
0 commit comments