mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 11:31:23 +01:00
updated theme minvers, and generating cache buster on reload too
This commit is contained in:
@@ -48,9 +48,9 @@
|
||||
"nodebb-plugin-soundpack-default": "0.1.4",
|
||||
"nodebb-plugin-spam-be-gone": "0.4.2",
|
||||
"nodebb-rewards-essentials": "0.0.5",
|
||||
"nodebb-theme-lavender": "1.0.54",
|
||||
"nodebb-theme-persona": "2.1.28",
|
||||
"nodebb-theme-vanilla": "3.1.8",
|
||||
"nodebb-theme-lavender": "2.0.0",
|
||||
"nodebb-theme-persona": "3.0.0",
|
||||
"nodebb-theme-vanilla": "4.0.0",
|
||||
"nodebb-widget-essentials": "2.0.1",
|
||||
"npm": "^2.1.4",
|
||||
"passport": "^0.3.0",
|
||||
|
||||
@@ -10,7 +10,8 @@ var async = require('async'),
|
||||
groups = require('./groups'),
|
||||
emitter = require('./emitter'),
|
||||
pubsub = require('./pubsub'),
|
||||
auth = require('./routes/authentication');
|
||||
auth = require('./routes/authentication'),
|
||||
utils = require('../public/src/utils');
|
||||
|
||||
(function (Meta) {
|
||||
Meta.reloadRequired = false;
|
||||
@@ -63,6 +64,7 @@ var async = require('async'),
|
||||
async.apply(Meta.templates.compile),
|
||||
async.apply(auth.reloadRoutes),
|
||||
function(next) {
|
||||
Meta.config['cache-buster'] = utils.generateUUID();
|
||||
templates.flush();
|
||||
next();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user