mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-12 11:12:07 +00:00
refactor: add bundle.js in external script environment
This commit is contained in:
parent
e95407e6f5
commit
1f3a6a9da6
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ export function App() {
|
|||
|
||||
const $script = document.createElement("script");
|
||||
$script.id = "external-resources";
|
||||
$script.src = `${import.meta.env.RENDERER_VITE_EXTERNAL_RESOURCES_URL}?t=${Date.now()}`;
|
||||
$script.src = `${import.meta.env.RENDERER_VITE_EXTERNAL_RESOURCES_URL + "/bundle.js"}?t=${Date.now()}`;
|
||||
document.head.appendChild($script);
|
||||
});
|
||||
}, [fetchUserDetails, syncFriendRequests, updateUserDetails, dispatch]);
|
||||
|
|
Loading…
Reference in a new issue