Add list of sites to config.
This commit is contained in:
3
config/env/lottery.config.example.js
vendored
3
config/env/lottery.config.example.js
vendored
@@ -8,5 +8,6 @@ module.exports = {
|
|||||||
gatewayToken: undefined,
|
gatewayToken: undefined,
|
||||||
vinmonopoletToken: undefined,
|
vinmonopoletToken: undefined,
|
||||||
googleanalytics_trackingId: undefined,
|
googleanalytics_trackingId: undefined,
|
||||||
googleanalytics_cookieLifetime: 60 * 60 * 24 * 14
|
googleanalytics_cookieLifetime: 60 * 60 * 24 * 14,
|
||||||
|
sites: [],
|
||||||
};
|
};
|
||||||
@@ -83,9 +83,10 @@ const webpackConfig = function(isDev) {
|
|||||||
__HOURS__: env.hours,
|
__HOURS__: env.hours,
|
||||||
__PUSHENABLED__: JSON.stringify(require("./defaults/push") != false),
|
__PUSHENABLED__: JSON.stringify(require("./defaults/push") != false),
|
||||||
__GA_TRACKINGID__: JSON.stringify(env.googleanalytics_trackingId),
|
__GA_TRACKINGID__: JSON.stringify(env.googleanalytics_trackingId),
|
||||||
__GA_COOKIELIFETIME__: env.googleanalytics_cookieLifetime
|
__GA_COOKIELIFETIME__: env.googleanalytics_cookieLifetime,
|
||||||
})
|
__sites__: JSON.stringify(env.sites),
|
||||||
]
|
}),
|
||||||
|
],
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user