diff --git a/dash/_configs.py b/dash/_configs.py index 802705ed07..35a10b5b32 100644 --- a/dash/_configs.py +++ b/dash/_configs.py @@ -117,9 +117,5 @@ def pathname_configs( raise exceptions.InvalidConfig( "`requests_pathname_prefix` needs to start with `/`" ) - if not requests_pathname_prefix.endswith(routes_pathname_prefix): - raise exceptions.InvalidConfig( - "`requests_pathname_prefix` needs to ends with `routes_pathname_prefix`." - ) return url_base_pathname, routes_pathname_prefix, requests_pathname_prefix