Closed JesusPuga closed 4 years ago
Hello @JesusPuga. Thanks for reporting this issue. We'll investigate what's causing this error. Maybe it's something on our side.
@karolkielecki Thanks :j
@JesusPuga Hey there! If you would like to test it, please use this URL: https://pwa.demo.saleor.rocks/graphql/
We should change it on our side, thanks for reporting! If you have any questions or feedback, don't hesitate to contact us. You can also reach me on Gitter or Spectrum (@karolkielecki)
Hi @karolkielecki , yep it worked, but just starting a new project in heroku. I tried changing de variable in my old project and it did not work, it did not recognize the new value. I tried cleaning the cache and restarting the dyno from heroku.
Example changing the variable:
Starting a new project:
So, does it mean that there is an extra process when we change our API_URL?
It seems you have only set up the environment variable, but that variable should be set up before you build the storefront. You have to run the command 'npm run build', and the environment variable should direct to the new URL. That's why it works with the new dyno because the storefront has been rebuilt.
What I'm trying to achieve
Deploy saleor-storefront demo to heroku,
Steps to reproduce the problem
What I expected to happen
I should be able to see the saleor-frontend from my heroku account.
Screenshots
System information Operating system: macOS Sierra Browser:Google Chrome