-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Remove /cname endpoint #4731
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
Remove /cname endpoint #4731
Conversation
@@ -65,7 +65,6 @@ | |||
function_urls = [ | |||
url(r'embed/', core_views.embed, name='embed'), |
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.
This one isn't used either, and it doesn't work
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.
Yea, we should kill this. We have the embed
in our ext
repo that actually does work:
https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/urls.py#L117
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 opened #4768
def cname_to_slug(host): | ||
# TODO: remove |
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.
Need to remove this after #4730
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 think this is actually good to ship prior to removing the middleware logic. I greped logs and it isn't being used anywhere.
@@ -65,7 +65,6 @@ | |||
function_urls = [ | |||
url(r'embed/', core_views.embed, name='embed'), |
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.
Yea, we should kill this. We have the embed
in our ext
repo that actually does work:
https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/urls.py#L117
I just wanted to do all the removal here p: there is nothing blocking this, I can do the removal in the other PR |
This isn't used or documented, it was added here 3cada1d
This should be merged after #4730
Related #1991 (comment)