Showing
1 changed file
with
3 additions
and
0 deletions
@@ -5,6 +5,9 @@ const config = global.yoho.config; | @@ -5,6 +5,9 @@ const config = global.yoho.config; | ||
5 | 5 | ||
6 | module.exports = { | 6 | module.exports = { |
7 | sw(req, res) { | 7 | sw(req, res) { |
8 | + if (req.hostname === 'activity.yoho.cn') { | ||
9 | + return res.status(404).end(); | ||
10 | + } | ||
8 | res.set({ | 11 | res.set({ |
9 | 'Cache-Control': 'no-cache', | 12 | 'Cache-Control': 'no-cache', |
10 | Pragma: 'no-cache', | 13 | Pragma: 'no-cache', |
-
Please register or login to post a comment