91adb8661d
* Add example with Magic and Passport.js * Tweaked wording on README * Fixed lint error * Fixed prettier error * Update examples/magic/README.md Removed Download manually section from README Co-Authored-By: Joe Haddad <timer150@gmail.com> * Removed dependency on passport and express + cleanup * Changed ZEIT brand to Vercel * Updated readme instructions and secrets * Renamed example * Changed db comment Co-authored-by: Joe Haddad <timer150@gmail.com> Co-authored-by: Luis Alvarez <luis@zeit.co>
16 lines
336 B
JavaScript
16 lines
336 B
JavaScript
const nextEnv = require('next-env')
|
|
const dotenvLoad = require('dotenv-load')
|
|
|
|
dotenvLoad()
|
|
|
|
const withNextEnv = nextEnv()
|
|
|
|
module.exports = withNextEnv({
|
|
env: {
|
|
MAGIC_PUBLISHABLE_KEY: process.env.MAGIC_PUBLISHABLE_KEY,
|
|
MAGIC_SECRET_KEY: process.env.MAGIC_SECRET_KEY,
|
|
},
|
|
devIndicators: {
|
|
autoPrerender: false,
|
|
},
|
|
})
|