SufficientService
SufficientService

Reputation: 41

Heroku not updating config vars with react app

I deployed the react app on Heroku and I have a problem with Config Vars(env variables). I changed them in settings and they are not updating.

When sending XHR request I got an error Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '<URL>'. This request has been blocked; the content must be served over HTTPS. because of the old one env variable which was staring with HTTP and I decided to change it to HTTPS. The Env variable is not updating.

REACT_APP_SERVER1="https://my-app.herokuapp.com"

Thanks for help

Upvotes: 1

Views: 824

Answers (1)

user3161261
user3161261

Reputation: 11

I got a similar problem with a NodeJS mongoDB app.

Upvotes: 1

Related Questions