gyselroth / balloon

High performance, feature rich document management system written for the cloud
GNU General Public License v3.0
18 stars 7 forks source link

Provide WOPI host via api #405

Closed raffis closed 4 years ago

raffis commented 4 years ago

Describe the change

The WOPI host should be configurable for each wopi server.

Current situation

Currently the wopi host get selected from the browser host (This applies to the web ui). The web ui has no other chance to get the wopi host.

Should

It is not always the case that the url host is also the wopi server. For example behind ingresses the wopi host should be the direct service of the balloon server and http requests should not get routed via api proxies.

Additional context

This is related to the balloon web client.

raffis commented 4 years ago

https://github.com/LibreOffice/online/blob/5dc8e815c4b9d5b09a90411df8ed2780c78abd59/wsd/FileServer.cpp#L722