Skip to content

Commit

Permalink
fix(web): Use relative asset path for worklet file (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
frananleo authored Jan 18, 2024
1 parent eeccb0f commit 00ce4d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class MicRecorderDelegate extends RecorderDelegate {
final source = context.createMediaStreamSource(mediaStream);

await context.audioWorklet.addModule(
'/assets/packages/record_web/assets/js/record.worklet.js',
'./assets/packages/record_web/assets/js/record.worklet.js',
);

final recorder = AudioWorkletNode(
Expand Down

0 comments on commit 00ce4d3

Please sign in to comment.