Closed mrauhu closed 7 years ago
Hello,
Your fix is probably working.
But I'm not sure why it's not working for now, why is response consumed ?
response.clone();
shouldn't consume, return response;
consumes but as also stop the callback's execution. I must miss something as I don't know why when the script is at response.clone()
response
is already consumed.
Thanks anyway @mrauhu, it should fix #2.
Hello @NitroBAY.
I'm found a bug in the Meteor Service Worker.
How to reproduce
sw.js
to your Meteor project in folder/public
.meteor
command.How to fix
Use the
clonedResponse
variable, not theresponse.clone()
directly.