diff --git a/conf/nginx.conf b/conf/nginx.conf index 0f87f4b..84c3405 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,3 @@ -#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location / { # Force usage of https diff --git a/manifest.json b/manifest.json index 0dd0eb9..17abe5a 100644 --- a/manifest.json +++ b/manifest.json @@ -31,16 +31,6 @@ }, "example": "domain.org" }, - { - "name": "path", - "type": "path", - "ask": { - "en": "Choose a path for TiddlyWiki", - "fr": "Choisissez un chemin pour TiddlyWiki" - }, - "example": "/", - "default": "/" - }, { "name": "is_public", "type": "boolean", diff --git a/scripts/install b/scripts/install index afffd59..83c3fad 100755 --- a/scripts/install +++ b/scripts/install @@ -24,7 +24,7 @@ ynh_abort_if_errors #================================================= domain=$YNH_APP_ARG_DOMAIN -path_url=$YNH_APP_ARG_PATH +path_url="/" is_public=$YNH_APP_ARG_IS_PUBLIC app=$YNH_APP_INSTANCE_NAME @@ -95,10 +95,10 @@ ynh_system_user_create --username=$app --home_dir=$final_path #================================================= # SPECIFIC SETUP #================================================= -ynh_script_progression --message="tiddlywiki..." --weight=2 +ynh_script_progression --message="Configuring TiddlyWiki..." --weight=2 pushd $final_path - $nodejs_path/node $final_path/tiddlywiki monwiki --init server + $nodejs_path/node tiddlywiki monwiki --init server popd #================================================= diff --git a/scripts/remove b/scripts/remove index a082345..306f0a9 100755 --- a/scripts/remove +++ b/scripts/remove @@ -54,7 +54,7 @@ ynh_remove_nodejs ynh_print_info --message="Removing app main directory..." # Remove the app directory securely -ynh_secure_remove --file="$final_path" +ynh_secure_remove --file=$final_path #================================================= # REMOVE NGINX CONFIGURATION