Skip to content

Commit

Permalink
Merge pull request #464 from skip-mev/fix-api-path
Browse files Browse the repository at this point in the history
rename file as sentry.ts
  • Loading branch information
toddkao authored Jan 18, 2025
2 parents fe601f7 + 2a4ff28 commit 4342b01
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/pages/api/sentryProxy.ts → src/pages/api/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { NextApiRequest, NextApiResponse } from "next";
const SENTRY_HOST = "o4504768725909504.ingest.us.sentry.io";
const SENTRY_PROJECT_IDS = ["4508485201231872"];

export const route = "/api/sentry";

export default async function handler(req: NextApiRequest, res: NextApiResponse) {
if (req.method !== "POST") {
return res.status(405).json({ error: "Method not allowed" });
Expand Down

0 comments on commit 4342b01

Please sign in to comment.