feat: add js-enabled.css to list of preloaded css files

This commit is contained in:
Julian Lam
2020-07-02 22:51:36 -04:00
parent e95cd28f6f
commit da29b947bf
2 changed files with 6 additions and 1 deletions

View File

@@ -56,6 +56,10 @@ Tags.parse = async (req, data, meta, link) => {
}, {
rel: 'manifest',
href: nconf.get('relative_path') + '/manifest.json',
}, {
rel: 'preload',
href: nconf.get('relative_path') + '/assets/js-enabled.css?' + (Meta.config['cache-buster'] ? '?' + Meta.config['cache-buster'] : ''),
as: 'style',
}];
if (plugins.hasListeners('filter:search.query')) {