score:1

Accepted answer

the pug file is fine, you only have to make some changes to your chart_price.js file, make a request to the server via ajax, and in your server file, instead of rendering the file, read the file content and use res.send(//your json data).


Related Query