Issue with BetterFetch on vps
When running the app on vercel everything seems to work
But as soon as i switch over to my own vps i keep getting BetterFetch issues it seems..
I got no clue what the reason could be, any thoughts?
5 Replies
Got any idea what might cause this issue @Ping @bekacru ?
I wonder if it could be an environment issue. Is your vps running on Node?
yesss
@Ping @bekacru Any other clues?
If you make a normal
fetch()
just to test, does it work?damn... doesn't work either!
@Ping I'm sorry for bothering, I figured it out 😠I feel so dumb but i was using req.nextUrl.origin and i just had to replace it to my baseurl... since im selfhosting it