Skip to content

Commit

Permalink
Fixed build.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 committed Jan 21, 2024
1 parent 7c97b06 commit 2b9e04a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .env

This file was deleted.

1 change: 1 addition & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_APP_API_URL=https://ether-scan.stefans-entwicklerecke.de/api
2 changes: 1 addition & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const router = createHashRouter(createRoutesFromElements(


if (import.meta.env.PROD) {
axios.defaults.baseURL = import.meta.env.VITE_API_URL
axios.defaults.baseURL = import.meta.env.VITE_APP_API_URL
}

ReactDOM.createRoot(document.getElementById('root')!).render(
Expand Down

0 comments on commit 2b9e04a

Please sign in to comment.