From f6fbb1afe793d04d1c573674bb3bc0c786feb2e4 Mon Sep 17 00:00:00 2001 From: Asim KT Date: Sun, 18 Nov 2018 20:28:35 +0530 Subject: [PATCH] social links, section and publisher name to app (#44) * social links, section and publisher name to app These values are used by every app and should be in the Malibu. * social links, section and publisher name to app These values are used by every app and should be in the Malibu. --- app/server/load-data.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/server/load-data.js b/app/server/load-data.js index f8af71ec1..b4b717ed1 100644 --- a/app/server/load-data.js +++ b/app/server/load-data.js @@ -13,7 +13,14 @@ import { catalogDataLoader } from "@quintype/framework/server/data-loader-helper import { getNavigationMenuArray } from "./data-loaders/menu-data"; import { PAGE_TYPE } from "../isomorphic/constants"; -const WHITELIST_CONFIG_KEYS = ["cdn-image", "polltype-host", "layout"]; +const WHITELIST_CONFIG_KEYS = [ + "cdn-image", + "polltype-host", + "layout", + "sections", + "social-links", + "publisher-name" +]; export function loadErrorData(error, config) { const errorComponents = { 404: "not-found" };