pathname

external val pathname: String(source)

The pathname read-only property of the URLPattern interface is a string containing the pattern used to match the pathname part of a URL.

MDN Reference