Skip to content

Commit

Permalink
Revert "removed debugging tool"
Browse files Browse the repository at this point in the history
This reverts commit c11f995.
  • Loading branch information
julien51 committed Feb 4, 2024
1 parent 10b899c commit f23adc4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/app/api/[message]/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,13 @@ export async function POST(
fcMessage.message.data.fid
);
}

// REMOVE ME FOR PROD!
export async function GET(
request: Request,
{ params }: { params: { message: string } }
) {
const u = new URL(request.url);
const fid = u.searchParams.get("fid");
return renderMessageForFid(u.origin, params.message, fid);
}

0 comments on commit f23adc4

Please sign in to comment.