mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-23 16:19:57 +02:00
feat: add js-enabled.css to list of preloaded css files
This commit is contained in:
@@ -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')) {
|
||||
|
||||
Reference in New Issue
Block a user