* Sets the hostname for the URL pattern. * * @param {string} hostname - The hostname to set. * @returns {UrlPattern} - Returns the updated instance of the URL pattern for chaining.
(hostname)
| 40 | * @returns {UrlPattern} - Returns the updated instance of the URL pattern for chaining. |
| 41 | */ |
| 42 | hostname(hostname) { |
| 43 | this.#map.set('hostname', hostname) |
| 44 | return this |
| 45 | } |
| 46 | |
| 47 | /** |
| 48 | * Sets the port for the URL pattern. |
no test coverage detected