Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32912617
D6990.1768207792.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
654 B
Referenced Files
None
Subscribers
None
D6990.1768207792.diff
View Options
diff --git a/web/database/worker/db-worker.js b/web/database/worker/db-worker.js
--- a/web/database/worker/db-worker.js
+++ b/web/database/worker/db-worker.js
@@ -1,7 +1,18 @@
// @flow
+import localforage from 'localforage';
+
import { type SharedWorkerMessageEvent } from '../../types/worker-types.js';
+const localforageConfig: PartialConfig = {
+ driver: localforage.INDEXEDDB,
+ name: 'comm',
+ storeName: 'commStorage',
+ description: 'Comm encrypted database storage',
+ version: '1.0',
+};
+localforage.config(localforageConfig);
+
function connectHandler(event: SharedWorkerMessageEvent) {
if (!event.ports.length) {
return;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 12, 8:49 AM (3 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5919288
Default Alt Text
D6990.1768207792.diff (654 B)
Attached To
Mode
D6990: [web-db] add indexedDB config
Attached
Detach File
Event Timeline
Log In to Comment