Building Your First Web App > part 3 > Integrating a public API into your app

Hello/Hola!

I have a problem when i need to put a global variable from heroku to a variable on my head.ejs.

I have copied the code as it appears in the course, but it still doesn’t work.
Do you know the reason?

Thanks,

(I don’t see an appropriate label for this type of message, i put “inbound certification”)

Ok, I have it, I was running the web from my local server…

The solution has been to run the app from the heroku server.

Hope this can at least help someone.