Explorar el Código

Tech: added cache busting for requirejs fetches, will only affect config.js for optimized builds, should solve user issues where browsers cache config.js which causes initial confusing setup/config issues.

Torkel Ödegaard hace 11 años
padre
commit
3cd33b6ffc
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/app/components/require.config.js

+ 1 - 0
src/app/components/require.config.js

@@ -3,6 +3,7 @@
  */
  */
 require.config({
 require.config({
   baseUrl: 'app',
   baseUrl: 'app',
+  urlArgs: 'bust=' + (new Date().getTime()),
 
 
   paths: {
   paths: {
     config:                   ['../config', '../config.sample'],
     config:                   ['../config', '../config.sample'],