Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hardcoded API endpoints in frontend. #1

Merged
merged 1 commit into from
Sep 17, 2023

Conversation

impoiler
Copy link
Contributor

Issue : API base endpoints were hardcoded in frontend to localhost,

After deployment to the cloud, it will no longer be localhost, so it should be a relative path to the base domain as it is serving the frontend and backend at the same endpoint.

Copy link
Owner

@FluxCapacitor2 FluxCapacitor2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks! I originally had them set to localhost:8080 because during development, the FastAPI server was on a different port than the Vite development server.

@FluxCapacitor2 FluxCapacitor2 merged commit 66db637 into FluxCapacitor2:main Sep 17, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants