mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-03 05:43:50 +02:00
Add base to URL constructor
This commit is contained in:
+1
-1
@@ -191,7 +191,7 @@ export class UrlSource extends Source {
|
|||||||
|
|
||||||
super();
|
super();
|
||||||
|
|
||||||
this._url = url instanceof URL ? url : new URL(url);
|
this._url = url instanceof URL ? url : new URL(url, location.href);
|
||||||
this._options = options;
|
this._options = options;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user