Skip to content

Commit

Permalink
Merge pull request #22 from dappforce/fix/fix-farcaster-frames
Browse files Browse the repository at this point in the history
fix: fixed frame image ratio
  • Loading branch information
mckrava authored Aug 8, 2024
2 parents aa2db09 + 649892f commit 86dc1d3
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/server/frames/utils/frog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,15 @@ export class FrogFramesManager {
: {}),
title: 'Epic Meme2Earn',
secret: env.FRAMES_SECRET,
// headers: {
// 'Content-Type': 'public, immutable, no-transform, max-age=60',
// },
imageAspectRatio: '1:1',
imageOptions: {
width: 800,
height: 800,
headers: {
'Content-Type': 'public, immutable, no-transform, max-age=0',
},
// imageAspectRatio: '1:1',
imageAspectRatio: '1.91:1',
// imageOptions: {
// width: 800,
// height: 800,
// },
})

this.initFrames()
Expand Down

0 comments on commit 86dc1d3

Please sign in to comment.