commit f98cee3a57a38904d509891b2f804a3b6c04951d
parent 56d6c286504c3982037c91089f4573ef0e150894
Author: iostpa <iostpa@iostpa.com>
Date: Tue, 3 Mar 2026 17:45:06 +0200
Hopefully now it should use the correct path?
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.js b/index.js
@@ -207,7 +207,7 @@ const fastify = Fastify({
logger: false
});
await fastify.register(middie);
-fastify.use(middleware);
+fastify.use(webhookPath, middleware);
await fastify.listen({ port }, () => {
console.log(`Server is listening for events at: ${localWebhookUrl}`);