Skip to content

Commit 8356358

Browse files
committed
Try to make env variables work with Algolia
1 parent f1a16bd commit 8356358

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ node_modules
1818
.env.development.local
1919
.env.test.local
2020
.env.production.local
21-
next.config.js
21+
# next.config.js
2222

2323
npm-debug.log*
2424
yarn-debug.log*

next.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
env: {
3+
ALGOLIA_APP_ID: process.env.ALGOLIA_APP_ID,
4+
ALGOLIA_PUBLIC_API_KEY: process.env.ALGOLIA_PUBLIC_API_KEY,
5+
},
6+
};

0 commit comments

Comments
 (0)