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:
parent
3b3f2e0b67
commit
95c9797772
2 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
SHARELATEX_APP_NAME="YunoHost Overleaf Community Edition"
|
SHARELATEX_APP_NAME="YunoHost Overleaf Community Edition"
|
||||||
|
|
||||||
SHARELATEX_CONFIG="__INSTALL_DIR__/config/settings.js"
|
SHARELATEX_CONFIG="__INSTALL_DIR__/settings.js"
|
||||||
ADMIN_PRIVILEGE_AVAILABLE=true
|
ADMIN_PRIVILEGE_AVAILABLE=true
|
||||||
OPTIMISE_PDF=true
|
OPTIMISE_PDF=true
|
||||||
NODE_ENV=production
|
NODE_ENV=production
|
||||||
|
|
|
@ -110,6 +110,7 @@ then
|
||||||
cp -r "$install_dir/build/services/" "$install_dir/live/services/"
|
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/patches/" "$install_dir/live/patches/"
|
||||||
cp -r "$install_dir/build/server-ce/config" "$install_dir/config/"
|
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"
|
cp "$install_dir/build_ldap/ldap-overleaf-sl/sharelatex/AuthenticationManager.js" "$install_dir/live/services/web/app/src/Features/Authentication/AuthenticationManager.js"
|
||||||
|
|
Loading…
Reference in a new issue