mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-07 02:28:53 +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 &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);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user