File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ cd go-fileHttp-mac-v1.3
2525#### default config
2626| Key | Value | Describe |
2727| ---------- | :-----------: | :-----------: |
28- | ROOT_DIR | $HOME | User home directory |
28+ | ROOT_DIR | $HOME | File Management Directory |
2929| ERROR_LOG | error.log | error log |
3030| ACCESS_LOG | access.log | access log |
3131| LISTEN | 127.0.0.1:9191 | listen addres |
3232| PUSH | true | enable file uploading |
3333| SHOW_ALL | false | show hidden files |
34- | POSH_BACKUP | false | ppload the backup file |
34+ | POSH_BACKUP | false | upload the backup file |
3535
3636
3737### required parameter
@@ -51,6 +51,7 @@ curl -H "Content-Type:application/html" http://127.0.0.1:9090/
5151##### Download file:
5252``` shell
5353wget http://127.0.0.1:9090/test.log
54+ curl http://127.0.0.1:9090/test.log --output test.log
5455```
5556
5657##### Upload file:
You can’t perform that action at this time.
0 commit comments