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 exporting window.VITE_BACKEND_URL if isBackendSet #339

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

tiero
Copy link
Contributor

@tiero tiero commented Aug 28, 2023

This fixes problem found doing the #338 PR. I did it here also in isolation in case that PR will not be merged.

@what-the-diff
Copy link

what-the-diff bot commented Aug 28, 2023

PR Summary

  • Enable broader backend URL configuration
    The code has been updated to allow for a more flexible configuration of the backend URL. Previously, it only accepted URLs from a specific source (import.meta.env.VITE_BACKEND_URL). But now, it also looks for URLs from a global variable (VITE_BACKEND_URL). This change enhances the flexibility in setting up the application's backend connection, accommodating various deployment scenarios.

@Janaka-Steph Janaka-Steph merged commit 99be56c into bit-gpt:main Aug 28, 2023
1 check passed
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.

2 participants