@fokjul
Posted
In my case it worked in Firefox only when cache was disabled on the Network tab (the inspector should be open). To make it work in Firefox, I have added {cache: "no-cache"}. As a result the code is: fetch('https://api.adviceslip.com/advice', {cache: "no-cache"})).
Marked as helpful
@jacksonwhiting
Posted
@fokjul Thank you for the help!