Fix typo in router and README.md (#33)

* Update README.md

fix: correct a typo

* Update router.go

fix: correct a typo
This commit is contained in:
Yini Xu 2020-03-19 18:39:00 +08:00 committed by GitHub
parent 3f7f7a5cf2
commit ceebddbd43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ By default, it will utilize all your CPU cores.
```
#### dump systemd service file
The standard systemd service file will show on your screen. You many want to use `>` to redirect to a file.
The standard systemd service file will show on your screen. You may want to use `>` to redirect to a file.
```
./webp-server -dump-systemd

View File

@ -22,7 +22,7 @@ func Convert(ImgPath string, ExhaustPath string, AllowedTypes []string, QUALITY
UA := c.Get("User-Agent")
if strings.Contains(UA, "Safari") && !strings.Contains(UA, "Chrome") &&
!strings.Contains(UA, "Firefox") {
log.Info("A Safari use has arrived...")
log.Info("A Safari user has arrived...")
c.SendFile(RawImageAbs)
return
}