chore: update to beta of react-instantsearch-dom (#36843)
* chore: update to beta of react-instantsearch-dom * feat: use .env variables for search keys
This commit is contained in:
committed by
GitHub
parent
203ca92a20
commit
1130a1c0df
@ -11,7 +11,9 @@ const {
|
||||
FORUM_LOCATION: forum,
|
||||
NEWS_LOCATION: news,
|
||||
LOCALE: locale,
|
||||
STRIPE_PUBLIC: stripePublicKey
|
||||
STRIPE_PUBLIC: stripePublicKey,
|
||||
ALGOLIA_APP_ID: algoliaAppId,
|
||||
ALGOLIA_API_KEY: algoliaAPIKey
|
||||
} = process.env;
|
||||
|
||||
const locations = {
|
||||
@ -21,4 +23,9 @@ const locations = {
|
||||
newsLocation: news
|
||||
};
|
||||
|
||||
module.exports = Object.assign(locations, { locale, stripePublicKey });
|
||||
module.exports = Object.assign(locations, {
|
||||
locale,
|
||||
stripePublicKey,
|
||||
algoliaAppId,
|
||||
algoliaAPIKey
|
||||
});
|
||||
|
Reference in New Issue
Block a user