Skip to content

Node.js based forum software built for the modern web

added config as global :dull:

barisusakli980484d93054
diff --git a/public/src/app.js b/public/src/app.js
index 8b83c5a3c1..a55dc9d2ab 100644
--- a/public/src/app.js
+++ b/public/src/app.js
@@ -641,6 +641,8 @@ app.cacheBuster = null;
socketIOConnect();
+ templates.setGlobal('config', config);
+
app.cacheBuster = config['cache-buster'];
require(['csrf'], function(csrf) {