forked from tornado-packages/tornado-core
Remove CORS check on relayers.json
This commit is contained in:
parent
df54da689c
commit
88b6e20aa1
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -3228,9 +3228,6 @@ class DBRegistryService extends BaseRegistryService {
|
||||
try {
|
||||
const resp = await fetchData(url, {
|
||||
method: "GET",
|
||||
headers: {
|
||||
"Content-Type": "application/json"
|
||||
},
|
||||
returnResponse: true
|
||||
});
|
||||
const data = new Uint8Array(await resp.arrayBuffer());
|
||||
|
3
dist/index.mjs
vendored
3
dist/index.mjs
vendored
@ -3207,9 +3207,6 @@ class DBRegistryService extends BaseRegistryService {
|
||||
try {
|
||||
const resp = await fetchData(url, {
|
||||
method: "GET",
|
||||
headers: {
|
||||
"Content-Type": "application/json"
|
||||
},
|
||||
returnResponse: true
|
||||
});
|
||||
const data = new Uint8Array(await resp.arrayBuffer());
|
||||
|
3
dist/tornado.umd.js
vendored
3
dist/tornado.umd.js
vendored
@ -90040,9 +90040,6 @@ class DBRegistryService extends _base__WEBPACK_IMPORTED_MODULE_3__/* .BaseRegist
|
||||
try {
|
||||
const resp = await (0,_providers__WEBPACK_IMPORTED_MODULE_2__/* .fetchData */ .Fd)(url, {
|
||||
method: "GET",
|
||||
headers: {
|
||||
"Content-Type": "application/json"
|
||||
},
|
||||
returnResponse: true
|
||||
});
|
||||
const data = new Uint8Array(await resp.arrayBuffer());
|
||||
|
2
dist/tornado.umd.min.js
vendored
2
dist/tornado.umd.min.js
vendored
File diff suppressed because one or more lines are too long
@ -411,9 +411,6 @@ export class DBRegistryService extends BaseRegistryService {
|
||||
try {
|
||||
const resp = await fetchData(url, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
returnResponse: true,
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user