diff --git a/README.md b/README.md index 6ad8463..301b7a6 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in The frontend for SimplyTranslate engine, which you can use for translation for many translation engine, there are DeepL, Reverso, ICIBA, Google Translate, and LibreTranslate (which instance LibreTranslate fetch from can be configured) engine. -**Shipped version:** 2023.4.9~ynh2 +**Shipped version:** 2023.4.9~ynh3 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 1a6f6a8..175bcf2 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po L'interface du moteur SimplyTranslate, que vous pouvez utiliser pour la traduction de nombreux moteurs de traduction, comprend les moteurs DeepL, Reverso, ICIBA, Google Translate et LibreTranslate (dont l'instance de récupération de LibreTranslate peut être configurée). -**Version incluse :** 2023.4.9~ynh2 +**Version incluse :** 2023.4.9~ynh3 ## Captures d’écran diff --git a/conf/nginx.conf b/conf/nginx.conf index 3d920d6..03c1d19 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,5 +1,5 @@ -#root_path_only location / { -#sub_path_only location __PATH__ { +#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; +location __PATH__/ { # Standard nginx configuration proxy_http_version 1.1; diff --git a/manifest.toml b/manifest.toml index 99a94a4..76feea3 100644 --- a/manifest.toml +++ b/manifest.toml @@ -6,7 +6,7 @@ description.en = "Web interface for many translation engine" description.fr = "Interface Web pour de nombreux moteurs de traduction" description.id = "Antarmuka web mesin penerjemahan" -version = "2023.4.9~ynh2" +version = "2023.4.9~ynh3" maintainers = ["the7thNightmare"] @@ -42,7 +42,7 @@ ram.runtime = "50M" [resources.sources.main] url = "https://codeberg.org/SimpleWeb/SimplyTranslate-Web/archive/d95fed97bf354a92d242f16529712ba59ee54eb0.tar.gz" - sha256 = "87360d28cb849e99184b68115bbecc4c92500cf3b940abbcb05cfd17f2f7fc86" + sha256 = "13ec0422cff994ee87291327143483a7ad6f0960103bc0b765c021034e0ab962" in_subdir = true [resources.system_user] @@ -55,4 +55,4 @@ ram.runtime = "50M" [resources.ports] [resources.apt] - packages = "python3 python3-venv git" + packages = "python3, python3-venv, git"