@swestash/agent-lens 0.13.1 → 0.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6060,6 +6060,8 @@ async function createApp(db, opts = {}) {
6060
6060
  app.setNotFoundHandler((req, reply) => {
6061
6061
  if (req.url.startsWith("/api/"))
6062
6062
  return notFound(reply);
6063
+ if (/\.[^/.]+$/.test(req.url.split("?")[0]))
6064
+ return notFound(reply);
6063
6065
  return reply.sendFile("index.html");
6064
6066
  });
6065
6067
  }