Skip to content

Commit

Permalink
Update next.config.js
Browse files Browse the repository at this point in the history
Ok, this is the last try
  • Loading branch information
bryanparmelee authored Oct 10, 2024
1 parent 7a1d358 commit 498d32e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const fs = require('fs');
const config = fs.readFileSync(process.env.FIREBASE_CONFIG ?? 'firebase-config.json', 'utf-8');
//const fs = require('fs');
//const config = fs.readFileSync(process.env.FIREBASE_CONFIG ?? 'firebase-config.json', 'utf-8');

/** @type {import('next').NextConfig} */
const nextConfig = {
env: {
NEXT_PUBLIC_FIREBASE_CONFIG: config
NEXT_PUBLIC_FIREBASE_CONFIG: process.env.FIREBASE_CONFIG
},
experimental: {
serverActions: true
Expand Down

0 comments on commit 498d32e

Please sign in to comment.