pipecountapp-dev / frontend /src /lib /appUpdate.ts
Khunndev
Cursor
Smaller spatial circle labels and settings update-app button.
ffdf130
Raw History Blame Contribute Delete
165 Bytes
/** Force-reload the PWA home route with a cache-busting query string. */
export function reloadAppForUpdate(): void {
window.location.assign(`/?${Date.now()}`)
}