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