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

Fix the header of the public page

This commit is contained in:
Yalh 2019-01-29 01:39:53 +01:00
parent e7abcae7d9
commit f715949c5c

View file

@ -184,14 +184,8 @@ popd
#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
#npm-install-peers
#npm install -g typescript
#npm install -g ts-node
#npm install typescript@>=2.0 --save
#npm install @types/node
#(cd $final_path && npm install --only=production)
#Fix a error in the public page
ynh_replace_string "res.writeHead(200)" "res.writeHead(200, {\"content-type\": \"text/html\",})" "$final_path/src/distbin-html/public.ts"
#=================================================
# SETUP SYSTEMD