From 656ea8f70e848b03c0b668584dd533d72b376498 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 14 Dec 2015 21:09:25 +0100 Subject: Create a constants module to easily modify some constants in a test instance for example. --- routes/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'routes/index.js') diff --git a/routes/index.js b/routes/index.js index ecca80721..f45aa7ba5 100644 --- a/routes/index.js +++ b/routes/index.js @@ -1,8 +1,10 @@ ;(function () { 'use strict' + var constants = require('../src/constants') + var routes = { - api: require('./api/' + global.API_VERSION), + api: require('./api/' + constants.API_VERSION), views: require('./views') } -- cgit v1.2.3