From 18414dbc5e4345c5f23975645be5192a941f6fb1 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sat, 8 Jul 2017 15:36:17 +0100 Subject: [PATCH] Update new readme --- assets/src/router/index.js | 2 ++ caddy/filemanager/README_NEW.md | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/assets/src/router/index.js b/assets/src/router/index.js index c1ce9725..f4d482a0 100644 --- a/assets/src/router/index.js +++ b/assets/src/router/index.js @@ -105,6 +105,8 @@ const router = new Router({ }) router.beforeEach((to, from, next) => { + document.title = to.name + if (to.matched.some(record => record.meta.requiresAuth)) { // this route requires auth, check if logged in // if not, redirect to login page. diff --git a/caddy/filemanager/README_NEW.md b/caddy/filemanager/README_NEW.md index 99c20661..1e22bd67 100644 --- a/caddy/filemanager/README_NEW.md +++ b/caddy/filemanager/README_NEW.md @@ -2,14 +2,14 @@ filemanager provides WebDAV features and a file managing interface within the specified directory and it can be used to upload, delete, preview, rename and edit your files within that directory. It is an implementation of [hacdias/filemanager](https://github.com/hacdias/filemanager) library. -Note that if you are handling large files you might run into troubles due to the defaults of [`timeouts`](https://caddyserver.com/docs/timeouts) plugin. Check its [documentation](https://caddyserver.com/docs/timeouts) to learn more about that plugin. - -For information about the working of filemanager itself, go to the [main repository](https://github.com/hacdias/filemanager). +Note that if you are handling large files you might run into troubles due to the defaults of [`timeouts`](https://caddyserver.com/docs/timeouts) plugin. Check its [documentation](https://caddyserver.com/docs/timeouts) to learn more about that plugin. For information about the working of filemanager itself, go to the [main repository](https://github.com/hacdias/filemanager). ## Get Started To start using this plugin you just need to go to the [download Caddy page](https://caddyserver.com/download) and choose `filemanager` in the directives section. For further information on how Caddy works refer to [its documentation](https://caddyserver.com/docs). +The default credentials are `admin` for the user and the password. It is highy recommended to change this after logging in for the first time and to use HTTPS. In the web interface, you can create more users and define their own permissions. + ## Syntax ```