mirror of
https://github.com/p-stream/providers.git
synced 2026-04-20 18:02:08 +00:00
Update fedapi.ts
This commit is contained in:
parent
f05e8fb19e
commit
1394756835
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ import { Caption } from '../captions';
|
|||
|
||||
const getRegion = (): string | null => {
|
||||
try {
|
||||
return typeof window !== 'undefined' ? window.localStorage.getItem('__MW::region') : null;
|
||||
return typeof window !== 'undefined' ? window.localStorage.getItem('region') : null;
|
||||
} catch (e) {
|
||||
console.warn('Unable to access localStorage:', e);
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue