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(local-development): fix proxy for login route #3216

Merged
merged 1 commit into from
Sep 9, 2021

Conversation

gabe-lyons
Copy link
Contributor

Logging in while developing on the react app caused some proxy issues. This only occurred while loading the react app in development mode while not logged in.

The issue was that the login page was proxied to the frontend server and served from there. It in turn had references to the frontend server's generated bundles. However, the bundle fetching was not proxied. Since the generated bundle ids are randomly created, the development react server would not find the frontend server's bundle ids.

This fix stops the login page from being proxied to the frontend server so the correct bundle ids are included in the page.

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable)

Copy link
Contributor

@shirshanka shirshanka left a comment

Choose a reason for hiding this comment

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

LGTM!

@shirshanka shirshanka merged commit f0c8f85 into datahub-project:master Sep 9, 2021
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