-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Removed redundant redirects between client and server #2993
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
Removed redundant redirects between client and server #2993
Conversation
@lindapaiste plz review this PR ,i have made the proposed changes. |
@raclim could you please reveiw this PR since it has been open for a very long time |
@Mubashirshariq Sure, I'm sorry that it took some time! Would you be able to resolve some of the merge conflicts here first? |
@raclim sure will do that |
…ttps://github.com/Mubashirshariq/p5.js-web-editor into Fix/Redundant_Redirects_between_server_and_client
@raclim done with resolving conflicts |
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.
Thanks for your work on this!
Fixes #2992
Changes:
Server Side:
Made changes on the server: Redirected "/sketches" and "/assets" to URLs with the username. Also, redirected "/reset-password" and "/reset-password/:reset_password_token" to "/account" if the user is logged in.
client :
Made changes on the client: Removed all Higher-Order Component (HOC) auth checks from routes.jsx, deleted createRedirectWithUsername component, and removed auth.js file.
I have verified that this pull request:
npm run lint
)npm run test
)develop
branch.Fixes #123