caddy-s3browser icon indicating copy to clipboard operation
caddy-s3browser copied to clipboard

Support for custom templates?

Open esell opened this issue 3 years ago • 1 comments

Does this support the usage of custom templates via the "browse" setting (https://caddyserver.com/docs/caddyfile/directives/file_server#browse) ? It doesn't appear to, but I wanted to make sure I wasn't just misunderstanding how to use it :).

Appreciate the work either way, this is exactly what I was looking for to serve up files from s3

esell avatar Feb 24 '23 19:02 esell

I'm sure this could be supported. Currently the template is hardcoded here: https://github.com/techknowlogick/caddy-s3browser/blob/main/template.go#LL49C7-L49C22

techknowlogick avatar Mar 09 '23 19:03 techknowlogick