Content pfp
Content
@
0 reply
0 recast
0 reaction

Vraj Desai 🎩 pfp
Vraj Desai 🎩
@vrajdesai.eth
How to redirect a user to a different URL when user clicks on URL from frame itself (not talking about post_redirect button but an actual URL of frame) I am using @frames and for every path I have to create a `route.tsx` file, so redirect user from `page.tsx` won't work in Next JS.
1 reply
0 recast
2 reactions

David Furlong pfp
David Furlong
@df
you can include the metadata of the frame on the page you want users to end up on via fetchMetadata - so no redirect is needed. Alternatively you can look at the user agent in route tsx (browser vs server) to either respond with a frame or redirect
0 reply
0 recast
0 reaction