Skip to content
Snippets Groups Projects
Verified Commit 776f6fd1 authored by rectcoordsystem's avatar rectcoordsystem Committed by Julia
Browse files

fix(backend): allow fetchSummaryFromProxy, trueMail to access local addresses

parent 7b3e3f8e
No related branches found
No related tags found
No related merge requests found
......@@ -312,6 +312,7 @@ export class EmailService {
Accept: 'application/json',
Authorization: truemailAuthKey,
},
isLocalAddressAllowed: true,
});
const json = (await res.json()) as {
......
......@@ -170,6 +170,6 @@ export class UrlPreviewService {
contentLengthRequired: meta.urlPreviewRequireContentLength,
});
return this.httpRequestService.getJson<SummalyResult>(`${proxy}?${queryStr}`);
return this.httpRequestService.getJson<SummalyResult>(`${proxy}?${queryStr}`, 'application/json, */*', undefined, true);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment