-
Notifications
You must be signed in to change notification settings - Fork 189
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 signup page crash #2754
Fix signup page crash #2754
Conversation
.gitpod.yml
Outdated
@@ -9,11 +9,13 @@ tasks: | |||
eval $(gp env -e API_URL=$(gp url 3000)) | |||
eval $(gp env -e WEB_URL=$(gp url 8000)) | |||
eval $(gp env -e API_HOST=$(gp url 8443)) | |||
eval $(gp env -e SSO_URL=$(gp url 8081)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this file should be changing as part of this PR, should it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to make the singup flow works for people who might review this PR using Gitpod.
.gitpod.yml
Outdated
eval $(gp env -e SERVICES="status image auth search posts feed-discovery users redis elasticsearch login firebase") | ||
|
||
sed -r \ | ||
-e "s@(.+=)http://localhost:8000(/[^ ]*)*@\1$WEB_URL\2@g" \ | ||
-e "s@(.+=)http://localhost:3000(/[^ ]*)*@\1$API_URL\2@g" \ | ||
-e "s@(.+=)http://localhost:8081(/[^ ]*)*@\1$SSO_URL\2@g" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was just surprised to see this change, since it is based on my other PR, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I just happened to have the same idea.
This needs a rebase and can go in after that merge conflict is fixed. |
@humphd can we merge this one ? |
@aserputov go for it, click |
This fixes the signup page crash due to
useEffect
infinite loop in 'SignUp.tsx'Issue This PR Addresses
Type of Change
Description
Checklist