Skip to content

Commit

Permalink
fix api nostr
Browse files Browse the repository at this point in the history
  • Loading branch information
abengkris committed Nov 29, 2024
1 parent 5f8739a commit 33ff45c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/LatestNote.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ config();
let latestNote: NostrEvent | null = null;
let errorMessage: string | null = null;
const baseUrl = import.meta.env.PUBLIC_PROD_URL || "http://localhost:1234";
const baseUrl = process.env.PUBLIC_PROD_URL || "http://localhost:1234";
// Fetch data from API
try {
Expand Down

0 comments on commit 33ff45c

Please sign in to comment.