瀏覽代碼

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'],