Skip to content

Commit

Permalink
fix(canvas-path): fix canvas img path
Browse files Browse the repository at this point in the history
  • Loading branch information
eepson123tw committed Oct 6, 2024
1 parent 31f4cd9 commit e4a348b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function processHtmlFiles(targetDir: string, contentDir: string) {

content = content.replace(
/<audio src="\.\.\/public\/([^"]+)" controls type="audio\/ogg" id="audio-player"><\/audio>/g,
'<audio src="./$1" type="audio/ogg" controls id="audio-player"></audio>'
'<audio src="./$1" type="audio/ogg" controls id="audio-player"></audio>'
);
// Update <source> paths
content = content.replace(
Expand Down

0 comments on commit e4a348b

Please sign in to comment.