Support running Readest in modern browsers

Now we support Web platform
This commit is contained in:
chrox
2024-12-05 18:37:28 +01:00
parent 23eb2514bc
commit aa16bc09f1
16 changed files with 328 additions and 51 deletions
@@ -101,7 +101,7 @@ const ReaderContent: React.FC<{ settings: SystemSettings }> = ({ settings }) =>
if (!bookKeys || bookKeys.length === 0) return null;
const bookData = getBookData(bookKeys[0]!);
if (!bookData || !bookData.book || !bookData.bookDoc) {
setTimeout(() => setLoading(true), 200);
setTimeout(() => setLoading(true), 300);
return (
loading && (
<div className={'hero hero-content min-h-screen'}>