mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 23:16:47 +00:00
🌩
This commit is contained in:
@@ -10,7 +10,7 @@ export function getSiteConfig<T>(
|
||||
defaultValue?: T
|
||||
): T {
|
||||
if (envKey) {
|
||||
// allow environment variables to override site.config.js
|
||||
// allow environment variables to override site.config.js (optional)
|
||||
const envValue = process.env[envKey]
|
||||
|
||||
if (envValue !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user