mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
added config as global :dull:
This commit is contained in:
@@ -641,6 +641,8 @@ app.cacheBuster = null;
|
||||
|
||||
socketIOConnect();
|
||||
|
||||
templates.setGlobal('config', config);
|
||||
|
||||
app.cacheBuster = config['cache-buster'];
|
||||
|
||||
require(['csrf'], function(csrf) {
|
||||
|
||||
Reference in New Issue
Block a user