Update fedapi.ts

This commit is contained in:
Pas 2025-04-16 23:12:01 -06:00
parent f05e8fb19e
commit 1394756835

View file

@ -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;