Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit e79abcb

Browse files
fix: set /events as public endpoint (#2157)
Co-authored-by: sangjanai <[email protected]>
1 parent 8404e54 commit e79abcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/main.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ void RunServer(std::optional<std::string> host, std::optional<int> port,
253253
auto validate_api_key = [config_service](const drogon::HttpRequestPtr& req) {
254254
auto api_keys = config_service->GetApiServerConfiguration()->api_keys;
255255
static const std::unordered_set<std::string> public_endpoints = {
256-
"/openapi.json", "/healthz", "/processManager/destroy"};
256+
"/openapi.json", "/healthz", "/processManager/destroy", "/events"};
257257

258258
if (req->getHeader("Authorization").empty() &&
259259
req->path() == "/v1/configs") {

0 commit comments

Comments
 (0)