mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-02 16:23:48 +03:00
fix: cache-busting external resources
This commit is contained in:
parent
93fbf7657d
commit
38e94c92d7
@ -138,7 +138,7 @@ export function App() {
|
|||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
const $script = document.createElement("script");
|
const $script = document.createElement("script");
|
||||||
$script.src = import.meta.env.RENDERER_VITE_EXTERNAL_RESOURCES_URL;
|
$script.src = `${import.meta.env.RENDERER_VITE_EXTERNAL_RESOURCES_URL}?t=${Date.now()}`;
|
||||||
document.head.appendChild($script);
|
document.head.appendChild($script);
|
||||||
});
|
});
|
||||||
}, [fetchUserDetails, syncFriendRequests, updateUserDetails, dispatch]);
|
}, [fetchUserDetails, syncFriendRequests, updateUserDetails, dispatch]);
|
||||||
|
Loading…
Reference in New Issue
Block a user