0 reply
0 recast
0 reaction
11 replies
7 recasts
27 reactions
@df
I'm not getting how to change the ratio of the frame from default (1.91:1) to 1:1, here is my ./app/frames/frames.ts
import { createFrames } from "frames.js/next";
import {
farcasterHubContext,
} from "frames.js/middleware";
export const frames = createFrames({
basePath: "/frames",
debug: process.env.NODE_ENV === "development",
middleware: [
farcasterHubContext({
...(process.env.NODE_ENV === "production"
? {
hubHttpUrl: "hubs.airstack.xyz",
hubRequestOptions: {
headers: {
"x-airstack-hubs": process.env.AIRSTACK_API_KEY as string,
},
},
}
: {
hubHttpUrl: "localhost:3010/hub",
}),
}),
],
}); 1 reply
0 recast
0 reaction
1 reply
0 recast
0 reaction