nghttpx: Change API endpoint URI

This commit is contained in:
Tatsuhiro Tsujikawa 2016-06-04 18:37:37 +09:00
parent aad2a24a22
commit d3495405d9
1 changed files with 1 additions and 1 deletions

View File

@ -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;