From e5f175c10a5f798c70f4f6421e13b1aa66d5de06 Mon Sep 17 00:00:00 2001 From: sugoidogo Date: Sat, 18 Jan 2025 09:24:29 +0000 Subject: [PATCH] update localforage url --- static/TwitchAuth-localforage.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/TwitchAuth-localforage.mjs b/static/TwitchAuth-localforage.mjs index dcaf360..1adb803 100644 --- a/static/TwitchAuth-localforage.mjs +++ b/static/TwitchAuth-localforage.mjs @@ -1,5 +1,5 @@ let localStorage=globalThis.localStorage -import('https://cdn.jsdelivr.net/npm/localforage@1/dist/localforage.min.js') +import('https://cdn.jsdelivr.net/npm/localforage@1/+esm') .then(module=>module.default) .then(localforage=>{localStorage=localforage.createInstance({name:import.meta.url})}) .catch(e=>console.warn('localforage failed, using localStorage',e))