A
Alokaiyatharth2704

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
Y
yatharth2704389d ago
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
S
skirianov389d ago
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
Y
yatharth2704389d ago
this is my nuxt config can you please check whenever you have time what needs to be changed?
Y
yatharth2704388d ago
@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
S
skirianov388d ago
Where are you hosting your application?
Y
yatharth2704388d ago
on nginx private server what do you think might be the issue? @skirianov
S
skirianov388d ago
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
Y
yatharth2704388d ago
where do we configure the host I am unable to figure that out. @skirianov
S
skirianov388d ago
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?
Y
yatharth2704387d ago
Yep the issue is with 2.7.5 version in my case I downgraded it to 2.5.13 and it worked
Want results from more Discord servers?
Add your server
More Posts
issue with API callWhen I do yarn start it adds undefined to my request url but when I do yarn dev it works fine. Can ygetting this error while trying to deployjenkins@ip-172-31-24-212:~/workspace/auction-frontend$ npm install npm WARN read-shrinkwrap This verUnable to access cookies in composablescontext.$bagisto.config.app.$cookies.set('vsf-bagCust-token', loginResult.data.api_access_token); myVSF UI 2 with ecommerce-integration-boilerplateHi, I hope this isn't a silly question :). Is it possible to use the new UI with the boilerplate fouWhat version of Node?Noob question. I was trying to create a storefront with spree and got the following error: error @vuHow to add custom function to a composableimport { Context, useFacetFactory, FacetSearchResult } from '@vue-storefront/core'; import typGet product details and Static block from magento 2 backend to VueStoreFront.Hi, I have a doubt. I need to call static block from magento to vuestorefront homepage someone pleasPossible Memory leak in vuestorefront-apiHi, we are using vuestorefront 1, problem we facing at the moment is that with time the api server iHow to detect if a page has an error inside the layoutInside the default layout I need to detect if there is an error page displayed (like for example a 4Contribution via a specific issueHello. I opened this **issue** (https://github.com/vuestorefront/vue-storefront/issues/6891). I workUnable to change the color of the SFheaderunable to change the background-color of Sf header can someone please helpVSF Redis cache - dynamic parts will be disappeared after a whileHi everybody, we have implemented redis cache with VSF project (SSR Cache), but we faced an issue,Can't we use REST Apis with Vue storefrontIs it necessary to use GraphQl in vuestorefront?Is Bagisto integration with Vue Storefront Deprecated?Please explainWeird url parametersHello 🙂 My Product Id seems whack or not VSF friendly. The are formatted as rest style urls: `"gidSSR Cache - default invalidation handlerAs I saw the previous channel archived, so here we can continue discussion about cache.. @7s @TautvVue Storefront Discord revampDear community! We would like to carry out a complete revamp of our Discord channels and one of th