Target all sub urls too in send_reply_from_proxy.py example

In mitmproxy examples send_reply_from_proxy.py, 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 http://example.com/path or http://example.com. 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.