docs: def resolve_request_path(requested_uri):
      """
      Check for any aliases and alter the path accordingly.
  
      Returns resolved_uri
      """
      from settings import PATH_ALIASES
  
      for key, val in PATH_ALIASES.items():
          if re.match(key, requested_uri):
              return re.sub(key, val, requested_uri)
      return requested_uri