Skip to content

Commit 4342b01

Browse files
authored
Merge pull request #464 from skip-mev/fix-api-path
rename file as sentry.ts
2 parents fe601f7 + 2a4ff28 commit 4342b01

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import { NextApiRequest, NextApiResponse } from "next";
33
const SENTRY_HOST = "o4504768725909504.ingest.us.sentry.io";
44
const SENTRY_PROJECT_IDS = ["4508485201231872"];
55

6-
export const route = "/api/sentry";
7-
86
export default async function handler(req: NextApiRequest, res: NextApiResponse) {
97
if (req.method !== "POST") {
108
return res.status(405).json({ error: "Method not allowed" });

0 commit comments

Comments
 (0)