from werkzeug.routing import PathConverter


class EverythingConverter(PathConverter):
    regex = '.*?'
app.url_map.converters['everything'] = EverythingConverter
Flask route using path with leading slash