A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/GoogleChrome/workbox/issues/1012 below:

Treat registerRoute('/foo/:bar', ...) as exact match in v3 · Issue #1012 · GoogleChrome/workbox · GitHub

Library Affected:
workbox-routing

Following up from #1011, in v3 we are going to stop creating ExpressRoutes implicitly whenever there's a string argument passed to the registerRoute() helper.

Instead, strings will be tested for an exact match, either against the url.path (if the string begins with '/') or against the url.href (if the string begins with http).

We'll continue the logging that #1011 introduces, and ensure that we direct developers to documentation about constructing an equivalent RegExpRoute and/or creating their own custom matchHandler as alternatives.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4