Skip to content

Commit

Permalink
env fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra committed Jan 12, 2024
1 parent eb32390 commit 2d0375f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const NEXT_PUBLIC_API_URL =
process.env.API_URL || "http://localhost:3001";
process.env.NEXT_PUBLIC_API_URL || "http://localhost:3001";
3 changes: 3 additions & 0 deletions app/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export",
env: {
NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL,
},
};

module.exports = nextConfig;

0 comments on commit 2d0375f

Please sign in to comment.