feat: add v0.19.0 support
This commit is contained in:
1 parent
b3b8a10e44
commit
119ab53946
62 files changed
+188
-157
No files matched your search
+3
-1
@@ -1,7 +1,9 @@
|
||||
function buildUrl(inputUrl: URL): URL {
|
||||
let withoutCors = inputUrl.pathname.replace('/cors/', '')
|
||||
|
||||
if (!withoutCors.startsWith('https://')) {
|
||||
if (
|
||||
!(withoutCors.startsWith('https://') || withoutCors.startsWith('http://'))
|
||||
) {
|
||||
withoutCors = 'https://' + withoutCors
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user