From d3495405d9bd9acbbfc9f09b2dd6eb6a26d60191 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 4 Jun 2016 18:37:37 +0900 Subject: [PATCH] nghttpx: Change API endpoint URI --- src/shrpx_api_downstream_connection.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shrpx_api_downstream_connection.cc b/src/shrpx_api_downstream_connection.cc index 2c33372f..5e13971d 100644 --- a/src/shrpx_api_downstream_connection.cc +++ b/src/shrpx_api_downstream_connection.cc @@ -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;