From a108a54bd99f1a1f28cacc6601c2ce3c3674fd15 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 20 May 2022 00:01:04 +0200 Subject: [PATCH] 0.25-0 --- conf/app.src | 4 ++-- conf/nginx.conf | 4 ---- conf/systemd.service | 2 +- manifest.json | 9 +++------ 4 files changed, 6 insertions(+), 13 deletions(-) diff --git a/conf/app.src b/conf/app.src index 36cf4e6..c943df8 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://framagit.org/fiat-tux/hat-softwares/lstu/-/archive/0.23-0/lstu-0.23-0.tar.gz -SOURCE_SUM=77bbe521403da22db2753fbeb4939a2decb220e0a21e88b4754a774a9a217c6d +SOURCE_URL=https://framagit.org/fiat-tux/hat-softwares/lstu/-/archive/0.25-0/lstu-0.25-0.tar.gz +SOURCE_SUM=eae4bc13ef761996a13c8133647dce14e040a67173b099b630ef35dba3b19209 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/nginx.conf b/conf/nginx.conf index a72f47f..85b19c1 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,10 +1,6 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location __PATH__/ { - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - access_log /var/log/nginx/lstu.access.log; error_log /var/log/nginx/lstu.error.log; diff --git a/conf/systemd.service b/conf/systemd.service index 205089d..3930360 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,5 +1,5 @@ [Unit] -Description=Shortened URLs service +Description=Lstu: Shortened URLs service Documentation=https://framagit.org/luc/lstu Requires=network.target After=network.target diff --git a/manifest.json b/manifest.json index de2fc2a..1029244 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "URL Shortener", "fr": "Raccourcisseur d'URL" }, - "version": "0.23-0~ynh1", + "version": "0.25-0~ynh1", "url": "https://lstu.fr", "upstream": { "license": "WTFPL", @@ -21,7 +21,7 @@ "email": "abld@abld.info" }, "requirements": { - "yunohost": ">= 4.2.4" + "yunohost": ">= 4.3.0" }, "multi_instance": true, "services": [ @@ -51,10 +51,7 @@ "en": "Choose a theme", "fr": "Choisissez un theme" }, - "choices": [ - "default", - "milligram" - ], + "choices": ["default", "milligram"], "default": "milligram" }, {