Skip to content

Commit

Permalink
refactor: default iconPath
Browse files Browse the repository at this point in the history
  • Loading branch information
0o001 committed Sep 28, 2023
1 parent 0e08ded commit 521a9f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/asset-paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ export function getIconPath() {
const modulePath = import.meta.url;

if (modulePath) {
setIconPath(modulePath.split("/").slice(0, -1).concat("assets").join("/"));
setIconPath(new URL(iconPath, modulePath).toString());
}

0 comments on commit 521a9f0

Please sign in to comment.