Skip to content

Commit

Permalink
fix(json): error json status code
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm committed Dec 14, 2023
1 parent 2f9f306 commit 00087cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ location = /_error.json {
internal;
auth_basic off;
default_type application/json;
return $status '{"ok": false, "statusCode": $status, "errorCode": "serve_error", "meta": {"server": "alwatr", "status": "$status_text"}}';
return 200 '{"ok": false, "statusCode": $status, "errorCode": "serve_error", "meta": {"server": "alwatr", "status": "$status_text"}}';
}

0 comments on commit 00087cb

Please sign in to comment.