mirror of https://github.com/zulip/zulip.git
zilencer: Fix regression in URLs.
When we refactored zilencer to use a single urls.py file in
bf50dd7771
, we accidentally lost the
prefix on the API urls.
This broke sending error report emails if zilencer was enabled.
This commit is contained in:
parent
dca585fa75
commit
ba7ef1c82d
|
@ -12,11 +12,11 @@ i18n_urlpatterns = [
|
||||||
|
|
||||||
# Zilencer views following the REST API style
|
# Zilencer views following the REST API style
|
||||||
v1_api_and_json_patterns = [
|
v1_api_and_json_patterns = [
|
||||||
url('^feedback$', 'zerver.lib.rest.rest_dispatch',
|
url('^deployment/feedback$', 'zerver.lib.rest.rest_dispatch',
|
||||||
{'POST': 'zilencer.views.submit_feedback'}),
|
{'POST': 'zilencer.views.submit_feedback'}),
|
||||||
url('^report_error$', 'zerver.lib.rest.rest_dispatch',
|
url('^deployment/report_error$', 'zerver.lib.rest.rest_dispatch',
|
||||||
{'POST': 'zilencer.views.report_error'}),
|
{'POST': 'zilencer.views.report_error'}),
|
||||||
url('^endpoints$', 'zilencer.views.lookup_endpoints_for_user'),
|
url('^deployment/endpoints$', 'zilencer.views.lookup_endpoints_for_user'),
|
||||||
]
|
]
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
|
|
Loading…
Reference in New Issue