1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libremdb_ynh.git synced 2024-09-03 19:36:22 +02:00

config useragent and accept in .env

This commit is contained in:
Sebastian Gumprich 2022-12-29 21:53:49 +01:00
parent d3a579f128
commit b2caa37508
2 changed files with 3 additions and 5 deletions

View file

@ -8,10 +8,8 @@
## used for meta tags. e.g: 'https://libremdb.iket.me'. don't add end slash.
NEXT_PUBLIC_URL=https://__DOMAIN__
## used when fetching data from IMDb. not adding these could result in not getting any response.
## example useragent header: 'Mozilla/5.0 (X11; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0'
AXIOS_USERAGENT=
## example accept header: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8'
AXIOS_ACCEPT=
AXIOS_USERAGENT='Mozilla/5.0 (X11; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0'
AXIOS_ACCEPT='text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8'
################################################################################
### 2. OPTIONAL VARS(enabling these is encouraged)

View file

@ -101,7 +101,7 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=1
ynh_add_nginx_config
#=================================================
# INSTALL HOMARR
# INSTALL LIBREMDB
#=================================================
ynh_script_progression --message="Installing The app..." --weight=10