dougthor42/trendlines

Change URL generation to server side

Closed this issue · 0 comments

The plot URLs should be generated server side.

This is required by #47 because the javascript currently has some jinja templating in it. When I move the JS to standalone files, I can no longer have things like jinja templating or url_for in them. That data has to be passed from the HTML file.

It also has the benefit of removing one of the hacks I had.