From ceebddbd4334a77a54b2848ab9fd5c9cbc38eefd Mon Sep 17 00:00:00 2001 From: Yini Xu <34967660+YiniXu9506@users.noreply.github.com> Date: Thu, 19 Mar 2020 18:39:00 +0800 Subject: [PATCH] Fix typo in router and README.md (#33) * Update README.md fix: correct a typo * Update router.go fix: correct a typo --- README.md | 2 +- router.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b72c4a8..76e8628 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/router.go b/router.go index 5c3f4c6..9a50bc2 100644 --- a/router.go +++ b/router.go @@ -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 }