forked from sombochea/verdaccio-ui
fix(api): remove unnecessary ts ignore
This commit is contained in:
parent
1fb0bf96d1
commit
a8eb1f36fc
@ -43,7 +43,6 @@ class API {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!['http://', 'https://', '//'].some(prefix => url.startsWith(prefix))) {
|
if (!['http://', 'https://', '//'].some(prefix => url.startsWith(prefix))) {
|
||||||
// @ts-ignore
|
|
||||||
url = window.VERDACCIO_API_URL + url;
|
url = window.VERDACCIO_API_URL + url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user