Skip to content

Commit

Permalink
fix(json): never load from cache (#843)
Browse files Browse the repository at this point in the history
  • Loading branch information
rofe authored Oct 24, 2024
1 parent 1cfec6d commit 4ac8a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension/view/json/json.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export default function draw(json, url) {
try {
const url = new URL(new URL(window.location.href).searchParams.get('url')).toString();
if (url) {
const res = await fetch(url);
const res = await fetch(url, { cache: 'no-store' });
if (res.ok) {
const text = await res.text();
let json = {};
Expand Down

0 comments on commit 4ac8a25

Please sign in to comment.