Skip to content

Commit a0d13be

Browse files
fix: tail-spin.svg not found issue
1 parent 9502f87 commit a0d13be

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/styles/main.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ body {
6363
top: 6px;
6464
left: 50%;
6565
transform: translateX(-50%);
66-
background-image: url(https://localhost/__cdvfile_assets__/www/res/tail-spin.svg);
66+
background-image: url(https://localhost/res/tail-spin.svg);
6767
background-repeat: no-repeat;
6868
background-position: center;
6969
background-size: 30px;

src/theme/list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ async function apply(id, init) {
7474
}
7575

7676
themeApplied = true;
77-
const loaderFile = Url.join(ASSETS_DIRECTORY, "res/tail-spin.svg");
77+
const loaderFile = "https://localhost/res/tail-spin.svg";
7878
const svgName = "__tail-spin__.svg";
7979
const img = Url.join(DATA_STORAGE, svgName);
8080
const theme = get(id);

0 commit comments

Comments
 (0)