Implement stronger content-security-policy except in /pad/ which does not allow it.
Implement a "loader" which allows for applying a version number to everything. Added a cache control for anything which has a version.
This commit is contained in:
5
www/common/boot.js
Normal file
5
www/common/boot.js
Normal file
@@ -0,0 +1,5 @@
|
||||
// Stage 0, this gets cached which means we can't change it. boot2.js is changable.
|
||||
define(['/api/config?cb=' + (+new Date()).toString(16)], function (Config) {
|
||||
if (Config.requireConf) { require.config(Config.requireConf); }
|
||||
require(['/common/boot2.js']);
|
||||
});
|
||||
Reference in New Issue
Block a user