feat: improved analytics

This commit is contained in:
2026-02-09 23:47:56 +01:00
parent eb388610de
commit 8872d2424a
5 changed files with 84 additions and 14 deletions

View File

@@ -3,14 +3,14 @@ import { handleFeedbackRequest } from '@mintel/next-feedback';
import { config } from '@/lib/config';
export async function GET(req: NextRequest) {
return handleFeedbackRequest(req, {
return handleFeedbackRequest(req as any, {
url: config.infraCMS.url,
token: config.infraCMS.token,
});
}
export async function POST(req: NextRequest) {
return handleFeedbackRequest(req, {
return handleFeedbackRequest(req as any, {
url: config.infraCMS.url,
token: config.infraCMS.token,
});