1
0
forked from mirror/misskey
This commit is contained in:
tamaina 2021-03-03 14:33:33 +09:00
parent dbb63dc5cb
commit 7b5e462760

View File

@ -7,7 +7,7 @@ import {
const fallbackName = (key: string) => `idbfallback::${key}`;
let idbAvailable = window ? !!window.indexedDB : true;
let idbAvailable = typeof window !== 'undefined' ? !!window.indexedDB : true;
if (idbAvailable) {
try {