Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3388 from withspectrum/2.4.12
Browse files Browse the repository at this point in the history
2.4.12
  • Loading branch information
brianlovin authored Jun 25, 2018
2 parents 495bc6a + 3ae62f7 commit 4134b69
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions config-overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,20 @@ module.exports = function override(config, env) {
caches: process.env.NODE_ENV === 'development' ? {} : 'all',
externals,
autoUpdate: true,
cacheMaps: [
{
match: function(url) {
var EXTERNAL_PATHS = ['/api', '/auth'];
if (
EXTERNAL_PATHS.some(function(path) {
return url.pathname.indexOf(path) === 0;
})
)
return false;
return url;
},
},
],
rewrites: arg => arg,
ServiceWorker: {
entry: './public/push-sw.js',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Spectrum",
"version": "2.4.11",
"version": "2.4.12",
"license": "BSD-3-Clause",
"devDependencies": {
"babel-cli": "^6.24.1",
Expand Down

0 comments on commit 4134b69

Please sign in to comment.