Skip to content

Commit

Permalink
fix(json): error json status code (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm authored Dec 14, 2023
2 parents 2f9f306 + 00087cb commit e7817e8
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 e7817e8

Please sign in to comment.