From 13947568351015e8ac244aa4cbeacad169ed2f18 Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Wed, 16 Apr 2025 23:12:01 -0600 Subject: [PATCH] Update fedapi.ts --- src/providers/embeds/fedapi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/embeds/fedapi.ts b/src/providers/embeds/fedapi.ts index 04f66d6..6aa4a0d 100644 --- a/src/providers/embeds/fedapi.ts +++ b/src/providers/embeds/fedapi.ts @@ -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;