Spaces:
Runtime error
Runtime error
Download frontend/src/lib/appUpdate.ts from npisb/pipecountapp-dev: direct link, hf CLI and curl.
- Browser
- Download file 165 Bytes
-
https://huggingface.co/spaces/npisb/pipecountapp-dev/resolve/main/frontend/src/lib/appUpdate.ts
- Command line
-
hf download hf://spaces/npisb/pipecountapp-dev/frontend/src/lib/appUpdate.ts
-
curl -L -o appUpdate.ts https://huggingface.co/spaces/npisb/pipecountapp-dev/resolve/main/frontend/src/lib/appUpdate.ts
165 Bytes
| /** Force-reload the PWA home route with a cache-busting query string. */ | |
| export function reloadAppForUpdate(): void { | |
| window.location.assign(`/?${Date.now()}`) | |
| } | |