mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
docs: Remove HostnameAlreadyInUseBouncerError.docs_url.
Now that we introduced an URL for serving permalinks redirecting to docs in #33444, the docs_url mechanism is no longer needed, as we can have a URL that's safe to hard-code in register_server.py. The HostnameAlreadyInUseBouncerError.docs_url has been merged in main briefly enough, that this should be safe to remove.
This commit is contained in:
committed by
Tim Abbott
parent
0a45a289f2
commit
a8fbf6d5d5
@@ -273,6 +273,7 @@ def doc_permalinks_view(request: HttpRequest, doc_id: str) -> HttpResponse:
|
||||
"usage-statistics": "https://zulip.readthedocs.io/en/latest/production/mobile-push-notifications.html#uploading-usage-statistics",
|
||||
"basic-metadata": "https://zulip.readthedocs.io/en/latest/production/mobile-push-notifications.html#uploading-basic-metadata",
|
||||
"why-service": "https://zulip.readthedocs.io/en/latest/production/mobile-push-notifications.html#why-a-push-notification-service-is-necessary",
|
||||
"registration-transfer": "https://zulip.readthedocs.io/en/latest/production/mobile-push-notifications.html#moving-your-registration-to-a-new-server",
|
||||
}
|
||||
|
||||
redirect_url = DOC_PERMALINK_MAP.get(doc_id)
|
||||
|
||||
Reference in New Issue
Block a user