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

fixes settings.js

This commit is contained in:
Thomas 2023-12-06 13:11:05 +01:00 committed by GitHub
parent 3b3f2e0b67
commit 95c9797772
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,6 @@
SHARELATEX_APP_NAME="YunoHost Overleaf Community Edition"
SHARELATEX_CONFIG="__INSTALL_DIR__/config/settings.js"
SHARELATEX_CONFIG="__INSTALL_DIR__/settings.js"
ADMIN_PRIVILEGE_AVAILABLE=true
OPTIMISE_PDF=true
NODE_ENV=production

View file

@ -110,6 +110,7 @@ then
cp -r "$install_dir/build/services/" "$install_dir/live/services/"
cp -r "$install_dir/build/patches/" "$install_dir/live/patches/"
cp -r "$install_dir/build/server-ce/config" "$install_dir/config/"
ynh_secure_remove --file="$install_dir/config/settings.js"
cp "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex/AuthenticationManager.js" "$install_dir/live/services/web/app/src/Features/Authentication/AuthenticationManager.js"