Target all sub urls too in example

In mitmproxy examples, I can target only specific url, but how could I widen it to all sub urls too?

Example: It makes no difference if I go to or Mitmproxy gives same response that is written in .py file to both requests.

I already found the solution. Sorry I am new in mitmproxy scripting.