Apply OT region fix to web app
This commit is contained in:
1 parent
30a75dc229
commit
1606ea9e2c
3 files changed
+16
-2
No files matched your search
@@ -31,7 +31,11 @@
|
||||
|
||||
playletStateStore.subscribe((value) => {
|
||||
invidiousApi.instance = value?.invidious?.current_instance;
|
||||
invidiousApi.userCountryCode = value?.device?.user_country_code ?? "US";
|
||||
let userCountryCode = value?.device?.user_country_code;
|
||||
if (!userCountryCode || userCountryCode === "OT") {
|
||||
userCountryCode = "US";
|
||||
}
|
||||
invidiousApi.userCountryCode = userCountryCode;
|
||||
});
|
||||
|
||||
searchHistoryStore.subscribe((value) => {
|
||||
|
||||
Reference in new issue
Block a user