Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
陈峰
2018-07-26 12:56:58 +0800
Commit
af7c6fed91a8280d49c6dc5d1c66085f29aaa8a4
2 parents
060026b9
f0fbe1b5
Merge branch 'hotfix/pwa' into 'gray'
Hotfix/pwa See merge request
!1491
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
public/js/pwa/sw.js
public/static/sw.js
public/js/pwa/sw.js
View file @
af7c6fe
...
...
@@ -69,7 +69,7 @@ const precacheFile = [{
};
})).
concat
(
config
.
precachePage
.
map
(
page
=>
{
return
{
url
:
page
url
:
page
+
'?t='
+
qs
.
t
};
})).
concat
(
config
.
precacheCdnStaticFile
.
map
(
file
=>
{
return
{
...
...
@@ -116,7 +116,7 @@ workboxSW.router.registerRoute(args => {
}
// navigate 请求失败后,返回网络异常页面
return
caches
.
match
(
'offline.html
'
);
return
caches
.
match
(
'offline.html
?t='
+
qs
.
t
);
});
});
...
...
public/static/sw.js
View file @
af7c6fe
This diff could not be displayed because it is too large.
Please
register
or
login
to post a comment