doc: improved config.vfs.default
Massimo Melina committed
Jun 7, 2024 at 16:32 UTC
3feb347689abc97c6d3142ad253abc7ae20d7f88
1 file changed
+1
config.md
+1
@@ -128,6 +128,7 @@ Valid keys in a node are:
128
- `target`: optional, for links only, used to [open the link in a new browser](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target). E.g. `_blank`
129
- `accept`: valid only on upload folders, used to restrict the type of files you can upload. E.g. `.zip,.rar`
130
- `default`: to be used with a folder where you want to serve a default html. E.g.: "index.html". Using this will make `mime` default to "auto".
131
+ The value must be an absolute or relative path in the VFS, not a path on disk. It works also with other type of files.
132
- `can_read`: specify who can download this entry. Value is a `WhoCan` descriptor, which is one of these values
133
- `true`: anyone can, even people who didn't log in. This is normally the default value.
134
- `false`: no one can.