Server side handles functional routeConfiguration

This commit is contained in:
Vesa Luusua 2017-10-10 19:50:49 +03:00
parent 40488083fd
commit 21fa9a86a7

View file

@ -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);