Skip to content

Commit

Permalink
fix app url
Browse files Browse the repository at this point in the history
  • Loading branch information
hillalex committed Sep 3, 2024
1 parent 5bbf75a commit b40b32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const root = ReactDOM.createRoot(

const getApiUrl = () => {
if (process.env.NODE_ENV === "development") {
return "http://localhost:8888/";
return "http://localhost:8888";
}
return `https://${window.location.host}/api/`;
};
Expand Down

0 comments on commit b40b32c

Please sign in to comment.