Abmelden Seite eingefügt

This commit is contained in:
ISA
2024-10-21 10:09:55 +02:00
parent 420e3b8ab2
commit 1c4b072ef3
3 changed files with 73 additions and 33 deletions

View File

@@ -1,6 +1,6 @@
import { openDB } from "idb"; // utils/indexedDB.js
const dbPromise = openDB("my-pdf-store", 1, {
const dbPromise = openDB("my-pdf-store", 2, {
upgrade(db) {
// Überprüfe und erstelle den Object Store für PDFs
if (!db.objectStoreNames.contains("pdfs")) {