Download assets/js/version.js from EDUrocks/EDUrocks-3.0-frontend-source-code: direct link, hf CLI and curl.
- Browser
- Download file 489 Bytes
-
https://huggingface.co/datasets/EDUrocks/EDUrocks-3.0-frontend-source-code/resolve/main/assets/js/version.js
- Command line
-
hf download hf://datasets/EDUrocks/EDUrocks-3.0-frontend-source-code/assets/js/version.js
-
curl -L -o version.js https://huggingface.co/datasets/EDUrocks/EDUrocks-3.0-frontend-source-code/resolve/main/assets/js/version.js
489 Bytes
| /** | |
| * EDUrocks 3.0 - Version Management | |
| * Auto-updates version on each deployment for cache busting | |
| */ | |
| // Update this timestamp when deploying new changes | |
| export const APP_VERSION = '3.2.6'; | |
| export const BUILD_TIMESTAMP = Date.now(); // Will be set at build time | |
| // Helper to add version to module imports | |
| export function getVersionedUrl(url) { | |
| const separator = url.includes('?') ? '&' : '?'; | |
| return `${url}${separator}v=${APP_VERSION}`; | |
| } | |
| window.EDU_VERSION = APP_VERSION; | |