Skip to content

Commit

Permalink
Don't cache badge since they don't allow cor
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed Jun 4, 2018
1 parent 57a01e1 commit c2d94ad
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions site/bisheng.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,17 +124,11 @@ module.exports = {
'https://at.alicdn.com/t/font_148784_v4ggb6wrjmkotj4i.eot',
'https://at.alicdn.com/t/font_148784_v4ggb6wrjmkotj4i.svg',
'https://at.alicdn.com/t/font_148784_v4ggb6wrjmkotj4i.ttf',
'https://img.shields.io/npm/v/antd.svg?style=flat-square',
'https://badges.gitter.im/ant-design/ant-design-english.svg',
'https://badges.gitter.im/Join%20Chat.svg',
].concat(getExternalResources()),
responseStrategy: 'network-first',
safeToUseOptionalCaches: true,
ServiceWorker: {
events: true,
prefetchRequest: {
mode: 'no-cors',
},
},
AppCache: false,
}),
Expand Down

0 comments on commit c2d94ad

Please sign in to comment.