mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: cache-busting external resources
This commit is contained in:
parent
93fbf7657d
commit
38e94c92d7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue