From 3a63e02addcc82489253359a3ee5420b32321ad2 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 16 Mar 2024 14:19:13 +0100 Subject: [PATCH 1/2] Improve permissions: make /api and /share public --- manifest.toml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index ede5024..64042ea 100644 --- a/manifest.toml +++ b/manifest.toml @@ -70,7 +70,17 @@ ram.runtime = "200M" [resources.permissions] main.url = "/" - + + api.url = "/api" + api.allow = "visitors" + api.auth_header = false + api.protect = true + + share.url = "/share" + share.allow = "visitors" + share.auth_header = false + share.protect = true + [resources.ports] main.default = 4001 From 315f67c079bded09d69782339be5eb6d5c1cd206 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 16 Mar 2024 13:19:16 +0000 Subject: [PATCH 2/2] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 405d4f0..a07ed80 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Please send your pull request to the [testing branch](https://github.com/YunoHos To try the testing branch, please proceed like that. -``` bash +```bash sudo yunohost app install https://github.com/YunoHost-Apps/photoview_ynh/tree/testing --debug or sudo yunohost app upgrade photoview -u https://github.com/YunoHost-Apps/photoview_ynh/tree/testing --debug diff --git a/README_fr.md b/README_fr.md index 93c101f..c16cf0b 100644 --- a/README_fr.md +++ b/README_fr.md @@ -40,7 +40,7 @@ Merci de faire vos pull request sur la [branche testing](https://github.com/Yuno Pour essayer la branche testing, procédez comme suit. -``` bash +```bash sudo yunohost app install https://github.com/YunoHost-Apps/photoview_ynh/tree/testing --debug ou sudo yunohost app upgrade photoview -u https://github.com/YunoHost-Apps/photoview_ynh/tree/testing --debug