Refactor based on NextJS 13 Routing / Dir Layout

This commit is contained in:
Koper
2023-08-14 19:50:25 +07:00
parent 63636b52e1
commit eb4fd6dcd0
15 changed files with 22 additions and 25 deletions

View File

@@ -1,5 +0,0 @@
// A faulty API route to test Sentry's error monitoring
export default function handler(_req, res) {
throw new Error("Sentry Example API Route Error");
res.status(200).json({ name: "John Doe" });
}