You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+119Lines changed: 119 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,3 +3,122 @@
3
3
Yet Another inDEX page.
4
4
5
5
Designed to work with other servers like nginx -- yadex does not serve files, instead it only generates index pages for directories.
6
+
7
+
## Endpoints
8
+
9
+
### Template-rendered index page
10
+
11
+
Enabled with `template_index` config option in `[service]` (default: true). You need to set `index_file` in `[template]` config section (relative to config dir).
Enabled with `json_api` config option in `[service]` (default: false). The path is `/api/files`, and shall be called with a POST request with a JSON body:
0 commit comments