File size: 489 Bytes
37d6cb3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | /**
* 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;
|