1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/castopod_ynh.git synced 2024-09-03 18:16:14 +02:00
This commit is contained in:
ericgaspar 2021-02-11 15:03:24 +01:00
parent 2e94c54a69
commit f85f815a8e
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 14 additions and 3 deletions

View file

@ -10,7 +10,7 @@
is_public=1 (PUBLIC|public=1|private=0)
; Checks
pkg_linter=1
setup_sub_dir=0
setup_sub_dir=1
setup_root=1
setup_nourl=0
setup_private=1

View file

@ -1,4 +1,5 @@
location / {
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
# Path to source
alias __FINALPATH__/public/;

View file

@ -37,6 +37,16 @@
},
"example": "podcast.example.com"
},
{
"name": "path",
"type": "path",
"ask": {
"en": "Choose a path for Castopod",
"fr": "Choisissez un chemin pour Castopod"
},
"example": "/castopod",
"default": "/castopod"
},
{
"name": "is_public",
"type": "boolean",

View file

@ -21,7 +21,7 @@ ynh_abort_if_errors
#=================================================
domain=$YNH_APP_ARG_DOMAIN
path_url="/"
path_url=$YNH_APP_ARG_PATH
is_public=$YNH_APP_ARG_IS_PUBLIC
app=$YNH_APP_INSTANCE_NAME