Skip to content
Advertisement

Tag: pubnub

Passing variables from Flask to JavaScript

I looked at similar forums but was not able to get any of the solutions to work. I am trying to pass variables from Flask to my JavaScript file. These values then will be used for PubNub from my JavaScript file. Here is part of my Python code: Here is part of my JavaScript code (app.js): this code works if

Advertisement