nghttpx: Change API endpoint URI
This commit is contained in:
parent
aad2a24a22
commit
d3495405d9
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue