hosting end-points: accept WOPISrc parameter.
Change-Id: I902be8e0f9870b13794e1251d6fea90faffdbc97 Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
This commit is contained in:
parent
7179a2d881
commit
85e9d6e03b
1 changed files with 7 additions and 7 deletions
|
@ -3710,13 +3710,13 @@ private:
|
||||||
else if (requestDetails.isGet("/favicon.ico"))
|
else if (requestDetails.isGet("/favicon.ico"))
|
||||||
handleFaviconRequest(requestDetails, socket);
|
handleFaviconRequest(requestDetails, socket);
|
||||||
|
|
||||||
else if (requestDetails.isGet("/hosting/discovery") ||
|
else if (requestDetails.equals(0, "hosting"))
|
||||||
requestDetails.isGet("/hosting/discovery/"))
|
{
|
||||||
handleWopiDiscoveryRequest(requestDetails, socket);
|
if (requestDetails.equals(1, "discovery"))
|
||||||
|
handleWopiDiscoveryRequest(requestDetails, socket);
|
||||||
else if (requestDetails.isGet(CAPABILITIES_END_POINT))
|
else if (requestDetails.equals(1, "capabilities"))
|
||||||
handleCapabilitiesRequest(request, socket);
|
handleCapabilitiesRequest(request, socket);
|
||||||
|
}
|
||||||
else if (requestDetails.isGet("/robots.txt"))
|
else if (requestDetails.isGet("/robots.txt"))
|
||||||
handleRobotsTxtRequest(request, socket);
|
handleRobotsTxtRequest(request, socket);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue