-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Proxito v2: Finish v2 migration and remove old implementation #10408
Comments
stsewd
added a commit
that referenced
this issue
Aug 14, 2023
stsewd
added a commit
that referenced
this issue
Aug 15, 2023
stsewd
added a commit
that referenced
this issue
Aug 28, 2023
Mostly removing old code, there is only one small custom addition https://github.com/readthedocs/readthedocs.org/blob/6595bdac198b482e1279c0e3b1925198f6baa631/readthedocs/proxito/views/serve.py#L144-L146 Django doesn't capture the first slash, previously we were getting the path from request.path_info, that includes the slash! When a request is done to `/` the path is set to "" (empty), our code relies on that being `/`. - Closes #10408 - Closes #8399 ### How to deploy this change - Deploy everything as usual, but don't run the `projects 0105` migration!!! - After deploy is done, run the `projects 0105` migration
🎉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now that the initial Proxito v2 prefix work is merged, we want to finish up the work to deprecate the old version:
Refs #10181 #10307
Originally posted by @stsewd in #9911 (comment)
The text was updated successfully, but these errors were encountered: