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:
parent
c1743c3be8
commit
0391d73e11
2 changed files with 6 additions and 3 deletions
|
@ -4,7 +4,7 @@ PORT:8080
|
|||
HTTP_WORKERS:2
|
||||
|
||||
# Proxy
|
||||
PROXY_PART:https://__HOST__/__PATH__/proxy
|
||||
PROXY_PART:https://__DOMAIN__/__PATH__/proxy
|
||||
|
||||
# Proxy Hash Secret
|
||||
#PROXY_HASH_SECRET:INSERT_HERE
|
||||
|
@ -20,10 +20,10 @@ CAPTCHA_BASE_URL:https://api.capmonster.cloud/
|
|||
CAPTCHA_API_KEY:INSERT_HERE
|
||||
|
||||
# Public API URL
|
||||
API_URL:https://__HOST__/__PATH__/api
|
||||
API_URL:https://__DOMAIN__/__PATH__/api
|
||||
|
||||
# Public Frontend URL
|
||||
FRONTEND_URL:https://__HOST__/__PATH__
|
||||
FRONTEND_URL:https://__DOMAIN__/__PATH__
|
||||
|
||||
# Enable haveibeenpwned compromised password API
|
||||
COMPROMISED_PASSWORD_CHECK:true
|
||||
|
|
|
@ -50,6 +50,9 @@ pushd $install_dir/build
|
|||
popd
|
||||
|
||||
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"
|
||||
chmod -R 755 "$install_dir/dist"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue