forked from cerc-io/cosmos-explorer
update policy
This commit is contained in:
parent
fb32ff8597
commit
1354abdb5d
@ -47,7 +47,7 @@ const policies = [
|
||||
'unsafe-url'
|
||||
];
|
||||
export async function get(url: string) {
|
||||
return (await fetch(url, {referrerPolicy: policies})).json();
|
||||
return (await fetch(url, {referrerPolicy: 'unsafe-url'})).json();
|
||||
}
|
||||
|
||||
export async function post(url: string, data: any) {
|
||||
|
Loading…
Reference in New Issue
Block a user