Skip to content

Commit

Permalink
fix: print PUBLIC_URL to the console in production
Browse files Browse the repository at this point in the history
  • Loading branch information
alifeinbinary committed Oct 8, 2024
1 parent 6ac79d3 commit 75bf91a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ const client = new ApolloClient({
cache
});

const publicUrl = import.meta.env.VITE_PUBLIC_URL;
console.log("publicUrl", publicUrl);
createRoot(document.getElementById('root')!).render(
<StrictMode>
<ApolloProvider client={client}>
Expand Down

0 comments on commit 75bf91a

Please sign in to comment.