Update README

Include json changes
This commit is contained in:
2019-05-24 14:46:30 +05:30
parent a87092d3e8
commit 8c60c7bc0d
2 changed files with 11 additions and 11 deletions

View File

@@ -9,7 +9,7 @@ Dependencies: `express` `body-parser` `@fortawesome/fontawesome-free` `chai` `mo
## Checklist
- [x] Folder Traversal
- [ ] Filesystem viewing
- [X] File Downloads
- [ ] Upload
- [ ] Auth
@@ -23,20 +23,21 @@ Requests:
```json
{
loc: "<valid location>"
'loc': "<valid location>"
}
```
Responses (Only for directory traversals):
```json
{
loc: "<location>",
back: "<location>|null",
contents:[
'loc': "<location>",
'back': "<location|null>",
'contents':[
{
name:"<filename>",
path:"<location>",
isDir: "<true|false>"
'name':"<filename>",
'path':"<location>",
'isDir': "<true|false>"
},
...
]

View File

@@ -1,6 +1,5 @@
{
"dirname":"./sandbox/",
"sqlFileName":"test.db",
"showHidden":false,
"authToUpload":false
"dbpath":null,
"showHidden":false
}