This commit is contained in:
Michka Popoff 2022-11-01 05:21:09 +09:00 committed by GitHub
commit 52bd29d106
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@ namespace {
// List of API endpoints
const std::array<APIEndpoint, 2> &apis() {
static const auto apis = new std::array<APIEndpoint, 2>{
{
APIEndpoint{
StringRef::from_lit("/api/v1beta1/backendconfig"),
true,
@ -54,6 +55,7 @@ const std::array<APIEndpoint, 2> &apis() {
(1 << API_METHOD_GET),
&APIDownstreamConnection::handle_configrevision,
},
}
};
return *apis;