mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 05:24:55 +03:00
fix: cache-busting external resources
This commit is contained in:
parent
93fbf7657d
commit
38e94c92d7
@ -138,7 +138,7 @@ export function App() {
|
||||
})
|
||||
.finally(() => {
|
||||
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);
|
||||
});
|
||||
}, [fetchUserDetails, syncFriendRequests, updateUserDetails, dispatch]);
|
||||
|
Loading…
Reference in New Issue
Block a user