Skip to content

Force all /users/ URLs to be served by addons-server #2034

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

Merged
merged 2 commits into from
Mar 9, 2017

Conversation

kumar303
Copy link
Contributor

@kumar303 kumar303 commented Mar 9, 2017

Temporary workaround for mozilla/addons#10234

The real fix will arrive in mozilla/addons-server#4890

{/* These user routes are to make the proxy serve each URL from */}
{/* addons-server until we can fix the :visibleAddonType route below. */}
{/* https://github.com/mozilla/addons-frontend/issues/2029 */}
<Route path="users/edit/" component={NotFound} />
Copy link
Contributor

@muffinresearch muffinresearch Mar 9, 2017

Choose a reason for hiding this comment

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

I wonder if this should have a placeholder since there's quite a lot of options for other urls under users/ one could hit: https://github.com/mozilla/addons-server/blob/master/src/olympia/users/urls.py#L20

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call

@kumar303 kumar303 changed the title Force /users/edit/ to be served by addons-server Force all /users/ URLS to be served by addons-server Mar 9, 2017
@kumar303 kumar303 changed the title Force all /users/ URLS to be served by addons-server Force all /users/ URLs to be served by addons-server Mar 9, 2017
Copy link
Contributor

@muffinresearch muffinresearch left a comment

Choose a reason for hiding this comment

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

r+

@kumar303 kumar303 merged commit f42934e into mozilla:master Mar 9, 2017
@kumar303 kumar303 deleted the users-edit-iss-2029 branch March 9, 2017 17:46
kumar303 added a commit to kumar303/addons-frontend that referenced this pull request Mar 13, 2017
…#2034)"

This reverts commit f42934e because a 500 is going to be more helpful until we have implementations of these pages.
kumar303 added a commit that referenced this pull request Mar 13, 2017
…#2046)

This reverts commit f42934e because a 500 is going to be more helpful until we have implementations of these pages.
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.

3 participants