1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/codimd_ynh.git synced 2024-09-03 18:16:32 +02:00
This commit is contained in:
liberodark 2019-03-13 18:30:55 +01:00
parent 197a00a5a5
commit de8a68a15f
3 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
SOURCE_URL=https://github.com/hackmdio/codimd/archive/1.3.0.tar.gz
SOURCE_SUM=a7d46d915b2d5276bde1c5b5203e4b03b0e2130cfc426d20321814e0a742479f927bd12187e6f83065f57b93c4eb07a0fafc9420aabe91ed9166c49910eb4c7b
SOURCE_SUM_PRG=sha512sum
SOURCE_URL=https://github.com/hackmdio/codimd/archive/1.2.1.tar.gz
SOURCE_SUM=850fe2e4aed30eb3f83d77f1d9d8421ad0ab52f24ec7faaa07d4269cc440d4e4
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=codimd.tar.gz
SOURCE_FILENAME=

View file

@ -6,7 +6,6 @@
}
},
"development": {
"loglevel": "debug",
"hsts": {
"enable": false
},
@ -17,10 +16,9 @@
},
"production": {
"domain": "localhost",
"loglevel": "info",
"hsts": {
"enable": true,
"maxAgeSeconds": 31536000,
"maxAgeSeconds": "31536000",
"includeSubdomains": true,
"preload": true
},

View file

@ -21,6 +21,7 @@ port=$(ynh_app_setting_get $app port)
db_name=$(ynh_app_setting_get $app db_name)
db_user=$db_name
final_path=$(ynh_app_setting_get $app final_path)
back_path=/opt/pia-back
#=================================================
# STANDARD REMOVE
@ -66,6 +67,7 @@ ynh_print_info "Removing app main directory"
# Remove the app directory securely
ynh_secure_remove "$final_path"
ynh_secure_remove "$back_path"
#=================================================
# REMOVE NGINX CONFIGURATION