Remove CORS check on relayers.json

This commit is contained in:
Tornado Contrib 2024-11-09 19:48:45 +00:00
parent df54da689c
commit 88b6e20aa1
Signed by: tornadocontrib
GPG Key ID: 60B4DF1A076C64B1
5 changed files with 1 additions and 13 deletions

3
dist/index.js vendored

@ -3228,9 +3228,6 @@ class DBRegistryService extends BaseRegistryService {
try { try {
const resp = await fetchData(url, { const resp = await fetchData(url, {
method: "GET", method: "GET",
headers: {
"Content-Type": "application/json"
},
returnResponse: true returnResponse: true
}); });
const data = new Uint8Array(await resp.arrayBuffer()); const data = new Uint8Array(await resp.arrayBuffer());

3
dist/index.mjs vendored

@ -3207,9 +3207,6 @@ class DBRegistryService extends BaseRegistryService {
try { try {
const resp = await fetchData(url, { const resp = await fetchData(url, {
method: "GET", method: "GET",
headers: {
"Content-Type": "application/json"
},
returnResponse: true returnResponse: true
}); });
const data = new Uint8Array(await resp.arrayBuffer()); const data = new Uint8Array(await resp.arrayBuffer());

3
dist/tornado.umd.js vendored

@ -90040,9 +90040,6 @@ class DBRegistryService extends _base__WEBPACK_IMPORTED_MODULE_3__/* .BaseRegist
try { try {
const resp = await (0,_providers__WEBPACK_IMPORTED_MODULE_2__/* .fetchData */ .Fd)(url, { const resp = await (0,_providers__WEBPACK_IMPORTED_MODULE_2__/* .fetchData */ .Fd)(url, {
method: "GET", method: "GET",
headers: {
"Content-Type": "application/json"
},
returnResponse: true returnResponse: true
}); });
const data = new Uint8Array(await resp.arrayBuffer()); const data = new Uint8Array(await resp.arrayBuffer());

File diff suppressed because one or more lines are too long

@ -411,9 +411,6 @@ export class DBRegistryService extends BaseRegistryService {
try { try {
const resp = await fetchData(url, { const resp = await fetchData(url, {
method: 'GET', method: 'GET',
headers: {
'Content-Type': 'application/json',
},
returnResponse: true, returnResponse: true,
}); });