Skip to content

Commit

Permalink
wsd: capabilities, advertise wopiAccessCheck endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Méven Car <[email protected]>
Change-Id: I0f4d4dad9c601ad40a67a16c85d6e5e8cfb4cebd
  • Loading branch information
meven committed Jan 6, 2025
1 parent 92f7a1f commit 0026f62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wsd/ClientRequestDispatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2427,6 +2427,9 @@ static std::string getCapabilitiesJson(bool convertToAvailable)
capabilities->set("hasDocumentSigningSupport",
ConfigUtil::getBool("document_signing.enable", true));

// Advertise wopiAccessCheck endpoint availability
capabilities->set("hasWopiAccessCheck", true);

const std::string serverName = ConfigUtil::getString("indirection_endpoint.server_name", "");
if (const char* podName = std::getenv("POD_NAME"))
capabilities->set("podName", podName);
Expand Down

0 comments on commit 0026f62

Please sign in to comment.