This repository has been archived by the owner on Dec 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix errors that fail to load environment variables
- Loading branch information
1 parent
fda457f
commit 2655ca6
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,13 @@ | ||
const withImages = require('next-images') | ||
module.exports = withImages() | ||
const withImages = require('next-images'); | ||
module.exports = withImages({ | ||
env: { | ||
FIREBASE_API_KEY: process.env.FIREBASE_API_KEY, | ||
FIREBASE_AUTH_DOMAIN: process.env.FIREBASE_AUTH_DOMAIN, | ||
FIREBASE_DATABASE_URL: process.env.FIREBASE_DATABASE_URL, | ||
FIREBASE_PROJECT_ID: process.env.FIREBASE_PROJECT_ID, | ||
FIREBASE_STORAGE_BUKET: process.env.FIREBASE_STORAGE_BUKET, | ||
FIREBASE_MESSAGING_SENDER_ID: process.env.FIREBASE_MESSAGING_SENDER_ID, | ||
FIREBASE_APP_ID: process.env.FIREBASE_APP_ID, | ||
FIREBASE_MEASUREMENT_ID: process.env.FIREBASE_MEASUREMENT_ID | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters