Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danreeves committed Dec 4, 2023
1 parent 5daee47 commit 2688b03
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions app/routes/api.event.ts
Original file line number Diff line number Diff line change
@@ -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, {
Expand Down

0 comments on commit 2688b03

Please sign in to comment.