Skip to content

Commit

Permalink
Merge pull request #3 from ChangoMan/fix-url
Browse files Browse the repository at this point in the history
fix: Use actual URL for baseUrl
  • Loading branch information
yashgo0018 authored May 25, 2024
2 parents 4b6ea9f + e44281e commit 9949d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nextjs/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ThemeProvider } from "~~/components/ThemeProvider";
import "~~/styles/globals.css";

const baseUrl = process.env.VERCEL_PROJECT_PRODUCTION_URL
? `https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`
? "https://zk-voting.com"
: `http://localhost:${process.env.PORT || 3000}`;
const imageUrl = `${baseUrl}/thumbnail.jpg`;

Expand Down

0 comments on commit 9949d2a

Please sign in to comment.