Skip to content

Commit

Permalink
Try to make env variables work with Algolia
Browse files Browse the repository at this point in the history
  • Loading branch information
w3bdesign committed Dec 17, 2020
1 parent f1a16bd commit 8356358
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ node_modules
.env.development.local
.env.test.local
.env.production.local
next.config.js
# next.config.js

npm-debug.log*
yarn-debug.log*
Expand Down
6 changes: 6 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
env: {
ALGOLIA_APP_ID: process.env.ALGOLIA_APP_ID,
ALGOLIA_PUBLIC_API_KEY: process.env.ALGOLIA_PUBLIC_API_KEY,
},
};

0 comments on commit 8356358

Please sign in to comment.