stewartpark / Flask-JSGlue

Flask-JSGlue helps hook up your Flask application nicely with the front end.
80 stars 39 forks source link

production does not see jsglue... #18

Closed rlam3 closed 7 years ago

rlam3 commented 7 years ago

serving flask app on uwsgi and nginx for static files does not enable jsglue to work properly... any reason why jsglue isn't being found?

is jsglue only good for development and not for production use?

stewartpark commented 7 years ago

Looks like this becomes a hard problem for the current release of JSGlue when the assets server resides somewhere else or the reverse proxy has a different URI mounted to the server.

I'll see if I can make a fix for this tonight. Thanks for reporting this.

rlam3 commented 7 years ago

@stewartpark Thanks! Was wondering on the progress on this issue.

stewartpark commented 7 years ago

Though this thread has much better history of explaining the problem, I think the actual action item should be this one: https://github.com/stewartpark/Flask-JSGlue/issues/15 I'll close this and try to make some time to work on this!