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

[BUG] Setting the BACKEND_URL and FRONTEND_URL incorrectly sets the API url #359

Open
bencoombs opened this issue Dec 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bencoombs
Copy link
Collaborator

Describe the bug
Setting the BACKEND_URL somehow breaks the calls to the backend by prepending the frontend URL to the backend URL

To Reproduce
Set BACKEND_URL and FRONTEND_URL env vars for the frontend package. Build the frontend. Observe calls to the concatenated URL (BACKEND_URL + FRONTEND_URL).

Expected behavior
API calls should be to the BACKEND_URL only.

@bencoombs bencoombs added the bug Something isn't working label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant