mirror of
https://github.com/mihonapp/mihon.git
synced 2025-03-13 00:00:09 +01:00
Bump default user agent (#1833)
This commit is contained in:
parent
7f9406aec9
commit
d3691cc256
@ -29,6 +29,7 @@ The format is a modified version of [Keep a Changelog](https://keepachangelog.co
|
|||||||
- Migrate to newer Bangumi API ([@MajorTanya](https://github.com/MajorTanya)) ([#1748](https://github.com/mihonapp/mihon/pull/1748))
|
- Migrate to newer Bangumi API ([@MajorTanya](https://github.com/MajorTanya)) ([#1748](https://github.com/mihonapp/mihon/pull/1748))
|
||||||
- Now showing manga starting dates in search
|
- Now showing manga starting dates in search
|
||||||
- Reduced request load by 2-4x in certain situations
|
- Reduced request load by 2-4x in certain situations
|
||||||
|
- Bump default user agent
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Fix MAL `main_picture` nullability breaking search if a result doesn't have a cover set ([@MajorTanya](https://github.com/MajorTanya)) ([#1618](https://github.com/mihonapp/mihon/pull/1618))
|
- Fix MAL `main_picture` nullability breaking search if a result doesn't have a cover set ([@MajorTanya](https://github.com/MajorTanya)) ([#1618](https://github.com/mihonapp/mihon/pull/1618))
|
||||||
|
@ -19,7 +19,7 @@ class NetworkPreferences(
|
|||||||
fun defaultUserAgent(): Preference<String> {
|
fun defaultUserAgent(): Preference<String> {
|
||||||
return preferenceStore.getString(
|
return preferenceStore.getString(
|
||||||
"default_user_agent",
|
"default_user_agent",
|
||||||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0",
|
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user