mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Document cross_origin_renderer_url
This commit is contained in:
parent
9026cc4977
commit
d0c2ab4cf1
@ -107,6 +107,15 @@ You can configure the app by copying `config.sample.json` to
|
||||
valid location on this network. This is used as a hint to the user to indicate
|
||||
when a valid location has been entered so it's not necessary for this to be
|
||||
exactly correct. Optional.
|
||||
1. `cross_origin_renderer_url`: URL to a static HTML page hosting code to help display
|
||||
encrypted file attachments. This MUST be hosted on a completely separate domain to
|
||||
anything else since it is used to isolate the privileges of file attachments to this
|
||||
domain. Default: `usercontent.riot.im`. The HTML this page needs to contain is:
|
||||
```
|
||||
<html><head><script>
|
||||
window.onmessage=function(e){eval("("+e.data.code+")")(e)}
|
||||
</script></head><body></body></html>
|
||||
```
|
||||
|
||||
Running as a Desktop app
|
||||
========================
|
||||
|
Loading…
Reference in New Issue
Block a user