fix(sw): cannot refresh pages that start with `f`

This commit is contained in:
HFO4 2022-12-19 17:28:13 +08:00
parent e056f1c4d5
commit 518d9e1410

View File

@ -666,7 +666,7 @@ module.exports = function(webpackEnv) {
// a route with query params (e.g. auth callbacks).
new RegExp('/[^/?]+\\.[^/]+$'),
new RegExp(/^\/api/),
new RegExp(/^\/f/),
new RegExp(/^\/f\//),
new RegExp(/^\/custom/),
],
}),