Nova Kwok
|
95b4443c13
|
Merge pull request #2 from BlueCocoa/master
Generate new WebP image if original file is modified since last time
|
2020-02-26 10:37:14 +08:00 |
|
Cocoa
|
25d46611f1
|
Copy ImgName before invoke c.SendFile since stripTrailingSlashes in fasthttp will change the content of ctx.URI().Path(), which was once obtained as ImgPath := c.Path()
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
|
2020-02-26 02:04:50 +08:00 |
|
Cocoa
|
735b7d2cda
|
check the original image for existence before os.Stat
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
|
2020-02-26 00:50:19 +08:00 |
|
n0vad3v
|
087e39d1ea
|
Optimize on function.
Update README.
|
2020-02-26 00:17:29 +08:00 |
|
Benny~
|
e7a3220773
|
Merge branch 'master' of https://github.com/n0vad3v/webp_server_go
Conflicts:
webp-server.go
|
2020-02-25 22:20:53 +08:00 |
|
Benny~
|
f790b24a0b
|
better file type
|
2020-02-25 22:20:26 +08:00 |
|
n0vad3v
|
d8c8bf9964
|
Fix read file type bug.
|
2020-02-25 22:12:24 +08:00 |
|
Cocoa
|
2b40d844a4
|
fixed typo in glob pattern, - -> .
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
|
2020-02-25 20:56:26 +08:00 |
|
Cocoa
|
61b46a1d8e
|
generate new webp image if original file is modified since last time
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
|
2020-02-25 20:50:29 +08:00 |
|
n0vad3v
|
8bdffcc246
|
Change from webp_server to webp-server.
Update RPM Spec.
|
2020-02-25 14:47:19 +08:00 |
|
Nova Kwok
|
2fc7cc018c
|
Merge pull request #1 from n0vad3v/add-cli-config
Add cli config
|
2020-02-23 21:23:55 +08:00 |
|
Benny~
|
5ae671f942
|
fix cli param, exit on file not found
|
2020-02-23 21:20:10 +08:00 |
|
n0vad3v
|
a302eeddc0
|
Add broken flag
|
2020-02-23 20:44:06 +08:00 |
|
n0vad3v
|
e45ca996ac
|
Added Safari support
|
2020-02-09 19:35:41 +08:00 |
|
Benny~
|
6839c6a7b0
|
update README.md
|
2020-02-09 18:53:24 +08:00 |
|
Benny~
|
4ae6453981
|
remove bin
|
2020-02-09 18:44:50 +08:00 |
|
Benny~
|
6d93f58889
|
update README.md
|
2020-02-09 18:44:15 +08:00 |
|
Benny~
|
8f58bc4930
|
go style
|
2020-02-09 18:28:54 +08:00 |
|
Benny~
|
4213dff391
|
fix panic due to direct request on /
|
2020-02-09 18:06:25 +08:00 |
|
Benny~
|
c0eabe3bc1
|
add gitignore
|
2020-02-09 14:32:29 +08:00 |
|
Benny~
|
b813dcfc77
|
webp encoder
|
2020-02-09 14:32:00 +08:00 |
|
n0vad3v
|
6b5f1e6e92
|
Init
|
2020-02-09 12:21:51 +08:00 |
|