Skip to content

Commit

Permalink
refactor: default iconPath (#718)
Browse files Browse the repository at this point in the history
  • Loading branch information
0o001 authored Oct 3, 2023
1 parent 5a5ca3b commit 512905b
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 512905b

Please sign in to comment.