mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 07:22:24 -05:00
[feature] Gin enable gzip encoding (#405)
* add gin gzip dependency * add gzip middleware to router * go mod tidy
This commit is contained in:
parent
23034ec145
commit
a089a98ea9
11 changed files with 442 additions and 5 deletions
3
vendor/modules.txt
vendored
3
vendor/modules.txt
vendored
|
|
@ -74,6 +74,9 @@ github.com/fsnotify/fsnotify
|
|||
# github.com/gin-contrib/cors v1.3.1
|
||||
## explicit; go 1.13
|
||||
github.com/gin-contrib/cors
|
||||
# github.com/gin-contrib/gzip v0.0.5
|
||||
## explicit; go 1.13
|
||||
github.com/gin-contrib/gzip
|
||||
# github.com/gin-contrib/sessions v0.0.4
|
||||
## explicit; go 1.13
|
||||
github.com/gin-contrib/sessions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue