mirror of
https://github.com/cloudreve/frontend.git
synced 2025-12-26 04:02:47 +00:00
fix(sw): cannot refresh pages that start with `f`
This commit is contained in:
parent
e056f1c4d5
commit
518d9e1410
|
|
@ -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/),
|
||||
],
|
||||
}),
|
||||
|
|
|
|||
Loading…
Reference in New Issue