stewartpark / Flask-JSGlue

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

Use APPLICATION_ROOT when creating routes #20

Closed hwdavidward closed 7 years ago

hwdavidward commented 7 years ago

As my applicaiton does not occupy the entire domain the current routes implementation does not find my paths. Will check if APPLICATION_ROOT is set and if so append it to the begining of the rule.

stewartpark commented 7 years ago

Looks good! But do you think we can add a test case for this? Sorry for the late response!