Skip to content

Commit

Permalink
refactor: add bundle.js in external script environment
Browse files Browse the repository at this point in the history
  • Loading branch information
JackEnx committed Dec 18, 2024
1 parent e95407e commit 1f3a6a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 1f3a6a9

Please sign in to comment.