mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
Testing (#35)
* version 3.2.0 * fix nodejs_version variable in upgrade script (#31) (#32) * correct a sile config
This commit is contained in:
parent
a5d44c470f
commit
e5617adfdf
2 changed files with 8 additions and 8 deletions
|
@ -124,7 +124,7 @@ chown admin: -R $install_log
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Copy default configuration file
|
# Copy default configuration file
|
||||||
mv "$final_path/config.example.js" "$final_path/config.js"
|
mv "../conf/config.js" "$final_path/config.js"
|
||||||
ynh_replace_string "_domain = 'http://localhost:3000/'" "_domain = 'https://$domain$path_url'" "$final_path/config.js"
|
ynh_replace_string "_domain = 'http://localhost:3000/'" "_domain = 'https://$domain$path_url'" "$final_path/config.js"
|
||||||
# Set service port
|
# Set service port
|
||||||
ynh_replace_string "__PORT__" "$port" "$final_path/config.js"
|
ynh_replace_string "__PORT__" "$port" "$final_path/config.js"
|
||||||
|
|
Loading…
Reference in a new issue