Skip to content

Commit

Permalink
fix(routes): update metadata for proper button action
Browse files Browse the repository at this point in the history
Ensure the action and target attributes work correctly with the button.
  • Loading branch information
nekofar committed Sep 26, 2024
1 parent 968ae5f commit 0c9c4a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ pub async fn handle_redirect<D>(req: Request, ctx: RouteContext<D>) -> worker::R
<meta property="fc:frame" content="vNext" />
<meta property="fc:frame:image" content="{}" />
<meta property="fc:frame:button:1" content="{}" />
<meta property="fc:frame:link" content="https://warpcast.com/~/composer-action?url={}&view=prompt" />
<meta property="fc:frame:button:1:action" content="link">
<meta property="fc:frame:button:1:target" content="https://warpcast.com/~/composer-action?url={}&view=prompt" />
<meta http-equiv="refresh" content="3; url={}" />
Expand Down

0 comments on commit 0c9c4a0

Please sign in to comment.