Skip to content

flask_utils should use the request.script_root #2

Description

@santoshs

Currently, if the site is hosted in example.com/app/ then the URL generated by flask_util.url_for doesn't not include the /app/, rather the output is /<something>. Using request.script_root in the jinja templates gives the proper URL, i.e /app/, generation of the URL json object should use the script_root to get the correct URLs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions