From 98d3090c7d7899bb72b8daa1d1e4355c1720ad6b Mon Sep 17 00:00:00 2001 From: calzoneman Date: Mon, 15 Feb 2016 17:21:28 -0800 Subject: [PATCH] Move BackendModule import --- src/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.js b/src/server.js index ac336f3d..fbd23186 100644 --- a/src/server.js +++ b/src/server.js @@ -47,7 +47,6 @@ import IOConfiguration from './configuration/ioconfig'; import WebConfiguration from './configuration/webconfig'; import NullClusterClient from './io/cluster/nullclusterclient'; import session from './session'; -import { BackendModule } from './backend/backendmodule'; import { LegacyModule } from './legacymodule'; var Server = function () { @@ -63,6 +62,7 @@ var Server = function () { // backend init var initModule; if (Config.get("new-backend")) { + const BackendModule = require('./backend/backendmodule').BackendModule; initModule = new BackendModule(); } else { initModule = new LegacyModule();