diff --git a/src/libs/http.ts b/src/libs/http.ts index 588e0b79..0c134fa8 100644 --- a/src/libs/http.ts +++ b/src/libs/http.ts @@ -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) {