mirror of
https://github.com/YunoHost-Apps/tldraw_ynh.git
synced 2024-09-03 20:35:54 +02:00
Updates
This commit is contained in:
parent
a6ec7640ff
commit
b815eb68c3
4 changed files with 14 additions and 11 deletions
|
@ -1,7 +1,6 @@
|
||||||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
location / {
|
||||||
location __PATH__/ {
|
|
||||||
|
|
||||||
proxy_pass http://127.0.0.1:__PORT__;
|
proxy_pass http://127.0.0.1:__PORT__/;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
|
@ -1,9 +1,15 @@
|
||||||
|
* TLDraw can't be installed on a subpath, and needs a fully dedicated domain
|
||||||
|
|
||||||
* The multiplayer mode requires Liveblocks API keys (Public and Secret)
|
* The multiplayer mode requires Liveblocks API keys (Public and Secret)
|
||||||
* You can get some for free at liveblocks.io
|
* You can get some for free at liveblocks.io
|
||||||
* Be **very careful** though, and keep in mind that by doing so, all your multiplayer rooms data will be stored on livestocks.io SaaS servers, and **NOT** on your server
|
* Be **very careful** though, and keep in mind that by doing so, all your multiplayer rooms data will be stored on livestocks.io SaaS servers, and **NOT** on your server
|
||||||
* Multiplayer mode is completely optional and you don't have to use it
|
* Multiplayer mode is completely optional and you don't have to use it
|
||||||
* If API keys are not provided, it will be automatically deactivated
|
* If API keys are not provided, it will be automatically deactivated
|
||||||
|
|
||||||
|
* TLDraw will not take a lot of disk or memory space while running.
|
||||||
|
* **However**, you will need at least 2.5GB of RAM and 5GB of disk space during installation time
|
||||||
|
* The build can be quite long, be patient !
|
||||||
|
|
||||||
* TLDraw offers all functionnalities (including multiplayer) for free at tldraw.com
|
* TLDraw offers all functionnalities (including multiplayer) for free at tldraw.com
|
||||||
* However, they have restricted the use of multiplayer mode within an iFrame, which could be a problem
|
* However, they have restricted the use of multiplayer mode within an iFrame, which could be a problem
|
||||||
* TLDraw Yunohost app is patching that restriction so that you can use multiplayer mode within an iFrame as before
|
* TLDraw Yunohost app is patching that restriction so that you can use multiplayer mode within an iFrame as before
|
||||||
|
|
|
@ -30,13 +30,11 @@
|
||||||
"install": [
|
"install": [
|
||||||
{
|
{
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
"type": "domain"
|
"type": "domain",
|
||||||
},
|
"help": {
|
||||||
{
|
"en": "TLDraw needs a fully dedicated domain",
|
||||||
"name": "path",
|
"fr": "TLDraw nécessite une installation à la racine du domaine"
|
||||||
"type": "path",
|
}
|
||||||
"example": "/example",
|
|
||||||
"default": "/example"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "is_public",
|
"name": "is_public",
|
||||||
|
|
|
@ -23,7 +23,7 @@ ynh_abort_if_errors
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
domain=$YNH_APP_ARG_DOMAIN
|
domain=$YNH_APP_ARG_DOMAIN
|
||||||
path_url=$YNH_APP_ARG_PATH
|
path_url="/"
|
||||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||||
publickey=$YNH_APP_ARG_PUBLICKEY
|
publickey=$YNH_APP_ARG_PUBLICKEY
|
||||||
secretkey=$YNH_APP_ARG_SECRETKEY
|
secretkey=$YNH_APP_ARG_SECRETKEY
|
||||||
|
|
Loading…
Add table
Reference in a new issue