-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
30 lines (22 loc) 路 925 Bytes
/
Copy pathconfig.toml
File metadata and controls
30 lines (22 loc) 路 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
## Prevent user to see and access files and folder
forbidden = [ "_internal", "vendor", "config.toml" ]
## Hide a folder from the user but doesn't prevent access
hidden = []
## If true, clicking a file that can't be previewed will display a message saying so instead of downloading it
preview_fallback = true
## Do we preview the README if one is present
enabled_readme = true
[previews]
## List of enabled file previews
enabled = [ "image", "video", "code", "audio", "markdown", "pdf" ]
## Settings for specific file previews
[previews.code]
## Enables code preview for files that might be considered unsafe such as .php
unsafe = false
## Choose how the content of a folder is displayed
## Example:
## [[displays]]
## path = "path/to/folder"
## format = "image"
## displayOthers = false ## If format not none, do we display the files that can't be previewed
## displayBack = false ## Do we display the "back" folder