-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: Use Caddy built-in file browser as an alternative #242
Comments
Cool, it sounds good, then we can make filebrowser optional. |
Of course I am wondering should this be in a different path than |
Yeah, I think we can use |
Currently, caddy's builtin file browser can be enabled by changing
Caddyfile
to:and to get
Content-Type
works correct (so that images and videos can be viewed or played in browser), mime database required by go needs to be avaiable (e.g. mounting/usr/share/mime/globs2
)Of course this is missing some feature that the current file browser supports (e.g. sharing), but it is good for people who want direct HTTP based file access.
The UI looks like this
The text was updated successfully, but these errors were encountered: