mirror of
https://github.com/YunoHost-Apps/librarian_ynh.git
synced 2024-09-03 19:36:01 +02:00
Fix
This commit is contained in:
parent
d14b620b34
commit
07553ecdb7
5 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
DOMAIN: 'https://__DOMAIN__'
|
DOMAIN: 'https://__DOMAIN__'
|
||||||
PORT: '__PORT__'
|
PORT: '__PORT__'
|
||||||
# Optional: Set address to bind to, example: 127.0.0.1
|
# Optional: Set address to bind to, example: 127.0.0.1
|
||||||
ADDRESS: ''
|
ADDRESS: '127.0.0.1'
|
||||||
# Running a custom API server is not recommended and is not suitable for a public instance
|
# Running a custom API server is not recommended and is not suitable for a public instance
|
||||||
API_URL: 'https://api.na-backend.odysee.com/api/v1/proxy'
|
API_URL: 'https://api.na-backend.odysee.com/api/v1/proxy'
|
||||||
# Use a custom video streaming endpoint (if using custom API server or proxying videos)
|
# Use a custom video streaming endpoint (if using custom API server or proxying videos)
|
||||||
|
|
|
@ -7,10 +7,10 @@
|
||||||
"fr": "An alternative frontend for LBRY/Odysee"
|
"fr": "An alternative frontend for LBRY/Odysee"
|
||||||
},
|
},
|
||||||
"version": "1.0~ynh1",
|
"version": "1.0~ynh1",
|
||||||
"url": "https://example.com",
|
"url": "https://lbry.bcow.xyz/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "AGPL-3.0-only",
|
"license": "AGPL-3.0-only",
|
||||||
"website": "https://example.com",
|
"website": "https://lbry.bcow.xyz/",
|
||||||
"demo": "https://lbry.bcow.xyz/@RetroMusic:d/1987-Rick-Astley-Never-Gonna-Give-You-Up-1920x1080:f",
|
"demo": "https://lbry.bcow.xyz/@RetroMusic:d/1987-Rick-Astley-Never-Gonna-Give-You-Up-1920x1080:f",
|
||||||
"admindoc": "https://yunohost.org/packaging_apps",
|
"admindoc": "https://yunohost.org/packaging_apps",
|
||||||
"code": "https://codeberg.org/librarian/librarian"
|
"code": "https://codeberg.org/librarian/librarian"
|
||||||
|
|
|
@ -80,7 +80,7 @@ ynh_setup_source --dest_dir="$final_path" --source_id=$YNH_ARCH
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
chmod -R +x "$final_path/$app"
|
chmod -R +x "$final_path/librarian"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
|
|
@ -67,7 +67,7 @@ ynh_restore_file --origin_path="$final_path"
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
chmod -R +x "$final_path/$app"
|
chmod -R +x "$final_path/librarian"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE SYSTEMD
|
# RESTORE SYSTEMD
|
||||||
|
|
|
@ -72,7 +72,7 @@ fi
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
chmod -R +x "$final_path/$app"
|
chmod -R +x "$final_path/librarian"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
|
Loading…
Reference in a new issue