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
陈峰
6 years ago
Commit
bc8ee5653161d1f04874410260f6c1a193367c8b
2 parents
72d14cca
3437bf0b
Merge branch 'master' into 'release/6.9.4'
Master See merge request
!1757
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
apps/api/controllers/pwa.js
apps/api/controllers/pwa.js
View file @
bc8ee56
...
...
@@ -5,6 +5,9 @@ const config = global.yoho.config;
module
.
exports
=
{
sw
(
req
,
res
)
{
if
(
req
.
hostname
===
'activity.yoho.cn'
)
{
return
res
.
status
(
404
).
end
();
}
res
.
set
({
'Cache-Control'
:
'no-cache'
,
Pragma
:
'no-cache'
,
...
...
Please
register
or
login
to post a comment