forked from jsnbuchanan/crowd-funder-for-time-pwa
convert all remaining DB writes & reads to SQL (with successful registration & claim)
This commit is contained in:
@@ -3,7 +3,10 @@ import { initBackend } from "absurd-sql/dist/indexeddb-main-thread";
|
||||
import { initializeApp } from "./main.common";
|
||||
|
||||
// Only import service worker for web builds
|
||||
if (process.env.VITE_PLATFORM !== 'electron' && process.env.VITE_PWA_ENABLED === 'true') {
|
||||
if (
|
||||
process.env.VITE_PLATFORM !== "electron" &&
|
||||
process.env.VITE_PWA_ENABLED === "true"
|
||||
) {
|
||||
import("./registerServiceWorker"); // Web PWA support
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user