progress on adding version string to some css
parent
4d5baa717d
commit
ed89a13fe6
@ -0,0 +1,10 @@
|
|||||||
|
define([
|
||||||
|
'/api/config',
|
||||||
|
], function (Config) {
|
||||||
|
if (!(Config && Config.requireConf && Config.requireConf.urlArgs)) { return; }
|
||||||
|
|
||||||
|
document.querySelectorAll('link[rel="stylesheet"][data-rewrite-href]').forEach(function (e) {
|
||||||
|
e.setAttribute('href', e.getAttribute('data-rewrite-href'));
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
Loading…
Reference in New Issue