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:
parent
f6dd0115c5
commit
8e10686ad7
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue