Unable to make API call on server
https://auction-dev.ycspl.in/weeklyauction while accessing this endpoint my network request is made on the local server IP where I have done the yarn start how to fix this
Vue Storefront
Build Setup
10 Replies
Basically my middleware URL that gets created should be same as my domain but it is not and I am unsure where to change this
any idea how to fix this @rohrig
any solution for this guys?
@skirianov @rohrig
I can’t check it fully now, I’m away from laptop, but I suppose your config is wrong. Check the guide where you host the application. Most probably you should configure your url to 0.0.0.0 or similar
this is my nuxt config can you please check whenever you have time what needs to be changed?
@skirianov thanks in advance!
any update guys on this issue it is a blocker for me I will be thankful if I got some help ASAP @skirianov @rohrig
Where are you hosting your application?
on nginx
private server
what do you think might be the issue? @skirianov
You’ve set your .env to production right?
I think some issue with the server/.env config. Basically looks like your server IP is used instead of host name, so maybe host configuration
where do we configure the host
I am unable to figure that out. @skirianov
I’m not nginx expert really, but I think it should be somewhere in nginx config. Check Stackoverflow, cause I really don’t know your setup
Did that help?
I mean, did you figure it out?
Yep the issue is with 2.7.5 version in my case I downgraded it to 2.5.13 and it worked