From 2688b0372f69c5ac67868e2fb80ac73446e1d119 Mon Sep 17 00:00:00 2001 From: Dan Reeves Date: Mon, 4 Dec 2023 13:19:55 +0000 Subject: [PATCH] fix --- app/routes/api.event.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/routes/api.event.ts b/app/routes/api.event.ts index 17f1659..6573aea 100644 --- a/app/routes/api.event.ts +++ b/app/routes/api.event.ts @@ -1,14 +1,15 @@ -import type { ActionFunctionArgs } from "@remix-run/node" -import { json } from "@remix-run/node" -import { getClientIPAddress } from "remix-utils/get-client-ip-address" +export async function action() { + // TODO: Remember to dedupe ids from tracking urls + // body = body.replaceAll( + // /[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/g, + // ":id", + // ) -export async function action({ request }: ActionFunctionArgs) { throw new Response(null, { status: 404, statusText: "Not Found", }) } -} export async function loader() { throw new Response(null, {