1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/distbin_ynh.git synced 2024-09-03 18:26:10 +02:00

remove port change

This commit is contained in:
Yalh 2019-01-29 00:14:00 +01:00
parent f6dd0115c5
commit 8e10686ad7
2 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@ location __PATH__/ {
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
proxy_pass http://127.0.0.1:__PORT__/;
proxy_pass http://127.0.0.1:8000/;
proxy_set_header Host $host;
proxy_buffering off;

View file

@ -181,8 +181,8 @@ npm install typescript@>=2.0 --save
npm install ts-node
popd
cp ../conf/package.json "$final_path/package.json"
ynh_replace_string "__PORT__" "$port" "$final_path/package.json"
#cp ../conf/package.json "$final_path/package.json"
#ynh_replace_string "__PORT__" "$port" "$final_path/package.json"
#npm audit fix
#npm install -g npm-install-peers
@ -257,7 +257,7 @@ ynh_add_systemd_config
### you can make a backup of this file before modifying it again if the admin had modified it.
# Calculate and store the config file checksum into the app settings
ynh_store_file_checksum "$final_path/package.json"
#ynh_store_file_checksum "$final_path/package.json"
#=================================================
# GENERIC FINALIZATION