trying to fix env variables for nextjs

This commit is contained in:
Torben Haack
2024-10-10 13:36:23 +02:00
parent 5c94b44c5d
commit d8abd090ed
2 changed files with 9 additions and 2 deletions

View File

@@ -1,4 +1,9 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextConfig = {
serverRuntimeConfig: {
OAUTH_CLIENT_ID: process.env.OAUTH_CLIENT_ID,
OAUTH_CLIENT_SECRET: process.env.OAUTH_CLIENT_SECRET,
},
};
export default nextConfig;