File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 node-version : ' 20'
2828
2929 - name : Install dependencies
30- run : npm install
30+ run : npm ci
3131
3232 - name : Build
3333 run : npm run build
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import './App.css'
55
66// You can replace this with your own audio file
77// Place your mp3 in the public folder and reference it here
8- const AUDIO_SRC = '/ audio.mp3'
8+ const AUDIO_SRC = ` ${ import . meta . env . BASE_URL } audio.mp3`
99
1010function App ( ) {
1111 const audioRef = useRef < HTMLAudioElement > ( null )
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ export function MonolithWall({
5252 useEffect ( ( ) => {
5353 let cancelled = false
5454 createLogoMask ( {
55- src : '/ sol-logo.svg' ,
55+ src : ` ${ import . meta . env . BASE_URL } sol-logo.svg` ,
5656 width : 768 ,
5757 height : 320 ,
5858 padding : 0.14 ,
@@ -230,3 +230,4 @@ export function MonolithWall({
230230 )
231231}
232232
233+
You can’t perform that action at this time.
0 commit comments