We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82f8ae0 commit cdbebcdCopy full SHA for cdbebcd
1 file changed
web/libs/editor/src/lib/AudioUltra/Media/MediaLoader.ts
@@ -183,7 +183,7 @@ export class MediaLoader extends Destructable {
183
});
184
185
xhr.addEventListener("readystatechange", () => {
186
- if (xhr.readyState === 4 && xhr.status !== 200 && xhr.status !== 0) {
+ if (xhr.readyState === 4 && xhr.status >= 400 && xhr.status !== 0) {
187
errorHandler();
188
}
189
0 commit comments