Content
@
0 reply
0 recast
0 reaction
Jac 馃帺
@jac
Help me figure out why our redirect isnt working! 2 claims max, $50 USDC each. @bountybot Frame link here - https://www.hirecaster.xyz/supercast Frame url / redirect are on the same domain. What are we missing?
5 replies
2 recasts
6 reactions
MetaEnd馃帺
@metaend.eth
Does your redirect go to another top level domain?
1 reply
0 recast
0 reaction
Complexlity
@complexlity
https://github.com/Complexlity/redirect-to-google-form/blob/main/src/pages/api/redirect.ts Here's the code and frame example on github
0 reply
0 recast
0 reaction
Complexlity
@complexlity
So you have to return a redirect(302) from the server to make it redirect. If you don't return a redirect, it would not work. Here's an example code for what your post_url should return. The redirect should have a location for the new route (the one you want to go to)
1 reply
0 recast
0 reaction
1dolinski
@1dolinski
I looked at this today, first redirect to your server and then out. Will share code when I get back to my computer / tomorrow morning
1 reply
0 recast
0 reaction
Dom
@domogo
the urls need to have www. in them
0 reply
0 recast
2 reactions