mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-03-11 17:25:32 +00:00
fix #234
This commit is contained in:
parent
5a4de638b4
commit
9a096db785
1 changed files with 1 additions and 3 deletions
|
|
@ -14,10 +14,8 @@ Map<String, String> headers(HeadersRef ref,
|
|||
Map<String, String> headers = {};
|
||||
if (mSource.headers?.isNotEmpty ?? false) {
|
||||
headers = (jsonDecode(mSource.headers!) as Map).toMapStringString!;
|
||||
} else {
|
||||
headers = getSourceHeaders(mSource);
|
||||
}
|
||||
|
||||
headers.addAll(getSourceHeaders(mSource));
|
||||
final cookies = MClient.getCookiesPref(mSource.baseUrl!);
|
||||
headers.addAll(cookies);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue