We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fe601f7 + 2a4ff28 commit 4342b01Copy full SHA for 4342b01
src/pages/api/sentryProxy.ts src/pages/api/sentry.tssrc/pages/api/sentryProxy.ts renamed to src/pages/api/sentry.ts
@@ -3,8 +3,6 @@ import { NextApiRequest, NextApiResponse } from "next";
3
const SENTRY_HOST = "o4504768725909504.ingest.us.sentry.io";
4
const SENTRY_PROJECT_IDS = ["4508485201231872"];
5
6
-export const route = "/api/sentry";
7
-
8
export default async function handler(req: NextApiRequest, res: NextApiResponse) {
9
if (req.method !== "POST") {
10
return res.status(405).json({ error: "Method not allowed" });
0 commit comments