Преглед на файлове

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 преди 11 години
родител
ревизия
3cd33b6ffc
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      src/app/components/require.config.js

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

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