mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-31 04:02:41 +09:00
Fix
This commit is contained in:
parent
3d67998cbc
commit
34e8ea58fb
@ -7,7 +7,7 @@ import {
|
||||
|
||||
const fallbackName = (key: string) => `idbfallback::${key}`;
|
||||
|
||||
let idbAvailable = !!window.indexedDB;
|
||||
let idbAvailable = window ? !!window.indexedDB : true;
|
||||
|
||||
if (idbAvailable) {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user