1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00

Merge pull request #224 from YunoHost-Apps/testing

Fix blank page
This commit is contained in:
yalh76 2021-04-23 16:09:33 +02:00 committed by GitHub
commit 18de2bf72e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 6 deletions

View file

@ -6,7 +6,7 @@
"en": "Video streaming platform using P2P directly in the web browser, connected to a federated network",
"fr": "Plateforme de diffusion vidéo par P2P directement dans le navigateur, et connectée à un réseau fédéralisé"
},
"version": "3.1.0~ynh3",
"version": "3.1.0~ynh4",
"url": "https://github.com/Chocobozzz/PeerTube",
"license": "AGPL-3.0-only",
"maintainer": [

View file

@ -154,7 +154,7 @@ mkdir -p "$datadir"
chmod 750 "$datadir"
chmod -R o-rwx "$datadir"
chown -R $app:$app "$datadir"
chown -R $app:www-data "$datadir"
#=================================================
# BUILD YARN DEPENDENCIES

View file

@ -89,7 +89,7 @@ mkdir -p "$datadir"
chmod 750 "$datadir"
chmod -R o-rwx "$datadir"
chown -R $app:$app "$datadir"
chown -R $app:www-data "$datadir"
#=================================================
# OPEN A PORT

View file

@ -218,7 +218,7 @@ mkdir -p "$datadir"
chmod 750 "$datadir"
chmod -R o-rwx "$datadir"
chown -R $app:$app "$datadir"
chown -R $app:www-data "$datadir"
#=================================================
# UPDATE A CONFIG FILE
@ -240,8 +240,6 @@ chown $app:$app "$final_path/config/local-production.json"
#=================================================
ynh_script_progression --message="Building Yarn dependencies..."
chown -R "$app":"$app" $final_path
pushd "$final_path"
ynh_use_nodejs
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --production --pure-lockfile