1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodered_ynh.git synced 2024-09-03 19:46:25 +02:00

Set port to 1880

This commit is contained in:
ericgaspar 2020-08-29 22:41:57 +02:00 committed by tituspijean
parent ede2b53c53
commit 24231bf166
3 changed files with 5 additions and 5 deletions

View file

@ -38,8 +38,8 @@ Since Node-Red can handle sensitive automation, the app is always installed in p
#### Multi-users support #### Multi-users support
Are LDAP and HTTP auth supported? **No** * Are LDAP and HTTP auth supported? **No**
Can the app be used by multiple users? **No** * Can the app be used by multiple users? **No**
#### Supported architectures #### Supported architectures

View file

@ -53,7 +53,7 @@ ynh_app_setting_set --app=$app --key=path --value=$path_url
ynh_script_progression --message="Configuring firewall..." --weight=1 ynh_script_progression --message="Configuring firewall..." --weight=1
# Find a free port # Find a free port
port=$(ynh_find_port --port=8095) port=$(ynh_find_port --port=1880)
# Open this port # Open this port
ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $port ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $port
ynh_app_setting_set --app=$app --key=port --value=$port ynh_app_setting_set --app=$app --key=port --value=$port