mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
urls: Move the report endpoints to be API-style routes.
This commit is contained in:
committed by
Tim Abbott
parent
9234abbd59
commit
5515a075ec
@@ -128,7 +128,7 @@ function report_error(msg, stack, opts) {
|
||||
// setup is done or do it ourselves and then retry.
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '/json/report_error',
|
||||
url: '/json/report/error',
|
||||
dataType: 'json',
|
||||
data: { message: msg,
|
||||
stacktrace: stack,
|
||||
|
||||
Reference in New Issue
Block a user