From 21fa9a86a71266f28d973b6fde3d9ec52cb000b1 Mon Sep 17 00:00:00 2001 From: Vesa Luusua Date: Tue, 10 Oct 2017 19:50:49 +0300 Subject: [PATCH] Server side handles functional routeConfiguration --- server/dataLoader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/dataLoader.js b/server/dataLoader.js index d2223350..145a4123 100644 --- a/server/dataLoader.js +++ b/server/dataLoader.js @@ -4,7 +4,7 @@ const log = require('./log'); exports.loadData = function(requestUrl, sdk) { const { pathname, query } = url.parse(requestUrl); - const matchedRoutes = matchPathname(pathname, routeConfiguration); + const matchedRoutes = matchPathname(pathname, routeConfiguration()); const store = configureStore(sdk);