Skip to content

Commit

Permalink
avoid appending / to url
Browse files Browse the repository at this point in the history
  • Loading branch information
fabOnReact committed Mar 2, 2021
1 parent 62fcb4e commit 28ee444
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Libraries/Blob/URL.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,6 @@ export class URL {
let baseUrl = null;
if (!base || validateBaseUrl(url)) {
this._url = url;
if (!this._url.endsWith('/')) {
this._url += '/';
}
} else {
if (typeof base === 'string') {
baseUrl = base;
Expand Down

0 comments on commit 28ee444

Please sign in to comment.