1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piped_ynh.git synced 2024-09-03 20:05:54 +02:00

moe typos.

This commit is contained in:
orhtej2 2024-01-27 23:49:43 +01:00
parent c1743c3be8
commit 0391d73e11
2 changed files with 6 additions and 3 deletions

View file

@ -4,7 +4,7 @@ PORT:8080
HTTP_WORKERS:2 HTTP_WORKERS:2
# Proxy # Proxy
PROXY_PART:https://__HOST__/__PATH__/proxy PROXY_PART:https://__DOMAIN__/__PATH__/proxy
# Proxy Hash Secret # Proxy Hash Secret
#PROXY_HASH_SECRET:INSERT_HERE #PROXY_HASH_SECRET:INSERT_HERE
@ -20,10 +20,10 @@ CAPTCHA_BASE_URL:https://api.capmonster.cloud/
CAPTCHA_API_KEY:INSERT_HERE CAPTCHA_API_KEY:INSERT_HERE
# Public API URL # Public API URL
API_URL:https://__HOST__/__PATH__/api API_URL:https://__DOMAIN__/__PATH__/api
# Public Frontend URL # Public Frontend URL
FRONTEND_URL:https://__HOST__/__PATH__ FRONTEND_URL:https://__DOMAIN__/__PATH__
# Enable haveibeenpwned compromised password API # Enable haveibeenpwned compromised password API
COMPROMISED_PASSWORD_CHECK:true COMPROMISED_PASSWORD_CHECK:true

View file

@ -50,6 +50,9 @@ pushd $install_dir/build
popd popd
mv $install_dir/build/dist $install_dir mv $install_dir/build/dist $install_dir
pushd $install_dir/dist
sed -i s/pipedapi.kavin.rocks/"$domain\/$path\/api"/g /usr/share/nginx/html/assets/*
popd
chown -R $app:www-data "$install_dir/dist" chown -R $app:www-data "$install_dir/dist"
chmod -R 755 "$install_dir/dist" chmod -R 755 "$install_dir/dist"