Add list of sites to config.

This commit is contained in:
2021-05-20 10:05:36 +02:00
parent b94ea75941
commit d4f059945d
2 changed files with 7 additions and 5 deletions

View File

@@ -8,5 +8,6 @@ module.exports = {
gatewayToken: undefined,
vinmonopoletToken: undefined,
googleanalytics_trackingId: undefined,
googleanalytics_cookieLifetime: 60 * 60 * 24 * 14
};
googleanalytics_cookieLifetime: 60 * 60 * 24 * 14,
sites: [],
};

View File

@@ -83,9 +83,10 @@ const webpackConfig = function(isDev) {
__HOURS__: env.hours,
__PUSHENABLED__: JSON.stringify(require("./defaults/push") != false),
__GA_TRACKINGID__: JSON.stringify(env.googleanalytics_trackingId),
__GA_COOKIELIFETIME__: env.googleanalytics_cookieLifetime
})
]
__GA_COOKIELIFETIME__: env.googleanalytics_cookieLifetime,
__sites__: JSON.stringify(env.sites),
}),
],
};
};