mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-07 18:48:54 +08:00
nghttpx: Change API endpoint URI
This commit is contained in:
@@ -131,7 +131,7 @@ int APIDownstreamConnection::push_request_headers() {
|
|||||||
auto &req = downstream_->request();
|
auto &req = downstream_->request();
|
||||||
auto &resp = downstream_->response();
|
auto &resp = downstream_->response();
|
||||||
|
|
||||||
if (req.path != StringRef::from_lit("/api/v1alpha1/backend/replace")) {
|
if (req.path != StringRef::from_lit("/api/v1beta1/backend/replace")) {
|
||||||
send_reply(404, API_FAILURE);
|
send_reply(404, API_FAILURE);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user