From 3dc7b77d377dc2c286d227b05e88fc9cf6a909c7 Mon Sep 17 00:00:00 2001 From: Mickael Kerjean Date: Tue, 5 Sep 2023 00:34:19 +1000 Subject: [PATCH 1/2] fix (config): type error in featurs->share->redirect --- server/common/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/common/config.go b/server/common/config.go index 956f2233..a5b4f1b0 100644 --- a/server/common/config.go +++ b/server/common/config.go @@ -97,7 +97,7 @@ func NewConfiguration() Configuration { Elmnts: []FormElement{ FormElement{Name: "enable", Type: "boolean", Default: true, Description: "Enable/Disable the share feature"}, FormElement{Name: "default_access", Type: "select", Default: "editor", Opts: []string{"editor", "viewer"}, Description: "Default access for shared links"}, - FormElement{Name: "redirect", Type: "string", Placeholder: "redirection URL", Description: "When set, shared links will perform a redirection to another link. Example: https://example.com?full_path={{path}}"}, + FormElement{Name: "redirect", Type: "text", Placeholder: "redirection URL", Description: "When set, shared links will perform a redirection to another link. Example: https://example.com?full_path={{path}}"}, }, }, Form{ From 76bed8b26cbaefef9e5c7412563f48567cea7cfe Mon Sep 17 00:00:00 2001 From: Mickael Kerjean Date: Wed, 4 Oct 2023 21:57:33 +1100 Subject: [PATCH 2/2] chore (docker): change docker-compose --- docker/docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index babbf7f1..a762c6f9 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -12,6 +12,8 @@ services: - ONLYOFFICE_URL=http://onlyoffice ports: - "8334:8334" + volumes: + - filestash:/app/data/state/ onlyoffice: container_name: filestash_oods @@ -20,3 +22,5 @@ services: security_opt: - seccomp:unconfined +volumes: + filestash: {} \ No newline at end of file