Skip to content

Commit

Permalink
Merge branch 'release/1.1.0-alpha.33'
Browse files Browse the repository at this point in the history
  • Loading branch information
nekofar committed Sep 26, 2024
2 parents 523339e + c324e9d commit b1c4178
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [1.1.0-alpha.33] - 2024-09-26

### Features

- Add Farcaster post URL meta tag

## [1.1.0-alpha.32] - 2024-09-26

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lilnouns-click"
version = "1.1.0-alpha.32"
version = "1.1.0-alpha.33"
authors = ["Milad Nekofar <milad@nekofar.com>"]
edition = "2021"
description = "A Nounish URL shortener for LilNouns DAO."
Expand Down
2 changes: 2 additions & 0 deletions src/routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ pub async fn handle_redirect<D>(req: Request, ctx: RouteContext<D>) -> worker::R
<meta property="fc:frame:button:1" content="{}" />
<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 property="fc:frame:post_url" content= "https://warpcast.com/~/composer-action?url={}&view=prompt">
<meta http-equiv="refresh" content="3; url={}" />
Expand Down Expand Up @@ -202,6 +203,7 @@ pub async fn handle_redirect<D>(req: Request, ctx: RouteContext<D>) -> worker::R
image, // Farcaster Image
"Read", // Farcaster Button #1
mini_app_url, // Farcaster Composer URL
mini_app_url, // Farcaster Post URL
url, // Page Refresh URL
encode_safe(&title), // Page Title
encode_safe(&description), // Page Description
Expand Down

0 comments on commit b1c4178

Please sign in to comment.