Skip to content

Commit c11d82b

Browse files
committed
Fix paths
1 parent 4c1f5a1 commit c11d82b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

index.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,36 @@
33
const ASSET_CONFIG = {
44
mac_retina: {
55
normal: {
6-
src: 'assets/mac_retina.png',
6+
src: '/control-user-cursor/assets/mac_retina.png',
77
height: '22px',
88
width: '15px',
99
},
1010
pointer: {
11-
src: 'assets/mac_pointer_retina.png',
11+
src: '/control-user-cursor/assets/mac_pointer_retina.png',
1212
width: '18.5px',
1313
height: '19.5px',
1414
},
1515
},
1616
mac: {
1717
normal: {
18-
src: 'assets/mac.png',
18+
src: '/control-user-cursor/assets/mac.png',
1919
width: '15px',
2020
height: '22px',
2121
},
2222
pointer: {
23-
src: 'assets/mac_pointer.png',
23+
src: '/control-user-cursor/assets/mac_pointer.png',
2424
width: '18px',
2525
height: '19px',
2626
},
2727
},
2828
other: {
2929
normal: {
30-
src: 'assets/other.png',
30+
src: '/control-user-cursor/assets/other.png',
3131
width: '17px',
3232
height: '23px',
3333
},
3434
pointer: {
35-
src: 'assets/other_pointer.png',
35+
src: '/control-user-cursor/assets/other_pointer.png',
3636
width: '22px',
3737
height: '26px',
3838
},

style.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ body {
2323
sans-serif;
2424
background-color: #f8f8f8;
2525
color: #000;
26-
background-image: url(./assets/bg.svg);
26+
background-image: url(/control-user-cursor/assets/bg.svg);
2727
background-repeat: repeat;
2828
}
2929

0 commit comments

Comments
 (0)