bump: SW cache v4 to force cache invalidation
This commit is contained in:
parent
40b28be0ee
commit
011dd08f08
|
|
@ -1,8 +1,8 @@
|
|||
const isLocalhost = self.location.hostname === "localhost" || self.location.hostname === "127.0.0.1";
|
||||
|
||||
if (!isLocalhost) {
|
||||
const STATIC_CACHE = "construction-delivery-static-v3";
|
||||
const RUNTIME_CACHE = "construction-delivery-runtime-v3";
|
||||
const STATIC_CACHE = "construction-delivery-static-v4";
|
||||
const RUNTIME_CACHE = "construction-delivery-runtime-v4";
|
||||
const APP_SHELL_URLS = ["/", "/index.html", "/manifest.webmanifest", "/icons/icon-192.svg", "/icons/icon-512.svg"];
|
||||
|
||||
self.addEventListener("install", (event) => {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { Navigate, useNavigate } from "react-router-dom";
|
|||
import { DriverDeliveryPlanner } from "../components/driver/DriverDeliveryPlanner";
|
||||
import { LogisticsReadinessBoard } from "../components/logistics/LogisticsReadinessBoard";
|
||||
import { OrdersTable } from "../components/orders/OrdersTable";
|
||||
import AdminDashboard from "../components/admin/AdminDashboard";
|
||||
import { AdminDashboard } from "../components/admin/AdminDashboard";
|
||||
import UserManagementPanel from "../components/admin/UserManagementPanel";
|
||||
import ErrorLogPanel from "../components/admin/ErrorLogPanel";
|
||||
import { Panel } from "../components/UI/Panel";
|
||||
|
|
|
|||
Loading…
Reference in New Issue