Skip to content

Commit

Permalink
fix(ui): fix extra / on theme link (#661)
Browse files Browse the repository at this point in the history
close #660
  • Loading branch information
mengzhuo committed Jul 26, 2022
1 parent df6aa29 commit 5a259fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@
if (r.endsWith(".js")) {
elem = document.createElement("script");
elem.setAttribute("type", "text/javascript");
elem.setAttribute("src", basePath + "/" + r);
elem.setAttribute("src", basePath + r);
} else {
elem = document.createElement("link");
elem.setAttribute("rel", "stylesheet");
elem.setAttribute("href", basePath + "/" + r);
elem.setAttribute("href", basePath + r);
}
elem.setAttribute("data-theme", theme);
Expand Down

0 comments on commit 5a259fd

Please sign in to comment.