Skip to content

Commit

Permalink
support hashing
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo committed Oct 20, 2019
1 parent af95c2e commit 097d10e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions background.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ function fixJs(details) {

filter.ondata = event => {
let str = decoder.decode(event.data, { stream: true });
str = str.replace(/\/js\/app\.js/g, '/app.js');
str = str.replace(/<script src="?\/js\/chunk\-vendors\.js"?><\/script>/g, '');
str = str.replace(/\/js\/app[A-Za-z0-9\-\.]*\.js/g, '/app.js');
str = str.replace(/<script src="?\/js\/chunk\-[A-Za-z0-9\-\.]*\.js"?><\/script>/g, '');
filter.write(encoder.encode(str));
filter.disconnect();
}
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "DinoParkLocalDev",
"description": "Connect local front end to DinoPark.",
"version": "0.0.8",
"version": "0.0.9",
"author": "Florian Merz",
"homepage_url": "https://github.com/fiji-flo/dinoparklocaldev",
"icons": {
Expand Down

0 comments on commit 097d10e

Please sign in to comment.