Skip to content

Commit 6715294

Browse files
author
Gaolin
committed
update
1 parent 83441f2 commit 6715294

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

file.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
ROOT: /tmp/
2-
ERROR_LOG: error.log
3-
ACCESS_LOG: access.log
4-
LISTEN: 127.0.0.1:9191
1+
ROOT: c:\\
2+
ERROR_LOG: c:\vpn.log
3+
ACCESS_LOG: c:\vpn.log
4+
LISTEN: 0.0.0.0:8083
55
PUSH: true
6-
POSH_BACKUP: false
76
SHOW_ALL: false
7+

file_http.exe

900 KB
Binary file not shown.

readme.md

+3-2
Original file line numberDiff line numberDiff 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
5353
wget 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:

0 commit comments

Comments
 (0)