From 493663ceacd3c18e2a2ce03c1f7904c052f4fc1d Mon Sep 17 00:00:00 2001 From: 839 <8398a7@gmail.com> Date: Sun, 28 Jun 2020 16:09:02 +0900 Subject: [PATCH] [#77] enable search --- docs/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/config.js b/docs/config.js index 0edaf16..03438ed 100644 --- a/docs/config.js +++ b/docs/config.js @@ -15,8 +15,8 @@ const config = { twitter: '8398a7', links: [{ text: '', link: '' }], search: { - enabled: false, - indexName: '', + enabled: true, + indexName: process.env.ALGOLIA === 'prod' ? 'prod_action-slack' : 'dev_action-slack', algoliaAppId: process.env.GATSBY_ALGOLIA_APP_ID, algoliaSearchKey: process.env.GATSBY_ALGOLIA_SEARCH_KEY, algoliaAdminKey: process.env.ALGOLIA_ADMIN_KEY,