File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ services:
2424 ports :
2525 - 8080
2626 volumes :
27- - ./storage:/app/ cached_skins
27+ - ./storage:/cached_skins
2828 environment :
2929 REDIS_URL : skinatar_cache:5698
3030 networks :
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ module main
33go 1.23.0
44
55require (
6+ github.com/chai2010/webp v1.1.2-0.20250406010349-76805d5a8860
67 github.com/go-redis/redis/v8 v8.11.5
78 github.com/google/uuid v1.6.0
89 github.com/gorilla/mux v1.8.1
@@ -12,7 +13,6 @@ require (
1213
1314require (
1415 github.com/cespare/xxhash/v2 v2.3.0 // indirect
15- github.com/chai2010/webp v1.1.1 // indirect
1616 github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
1717 golang.org/x/net v0.38.0 // indirect
1818 golang.org/x/sys v0.31.0 // indirect
Original file line number Diff line number Diff line change 11github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs =
22github.com/cespare/xxhash/v2 v2.3.0 /go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs =
3- github.com/chai2010/webp v1.1.1 h1:jTRmEccAJ4MGrhFOrPMpNGIJ/eybIgwKpcACsrTEapk =
4- github.com/chai2010/webp v1.1.1 /go.mod h1:0XVwvZWdjjdxpUEIf7b9g9VkHFnInUSYujwqTLEuldU =
3+ github.com/chai2010/webp v1.1.2-0.20250406010349-76805d5a8860 h1:s8S0IFJsC9uAUG5Kwuv3d44DJoJn0Za7tbYXgg7e5GM =
4+ github.com/chai2010/webp v1.1.2-0.20250406010349-76805d5a8860 /go.mod h1:0XVwvZWdjjdxpUEIf7b9g9VkHFnInUSYujwqTLEuldU =
55github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78 =
66github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f /go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc =
77github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4 =
Original file line number Diff line number Diff line change @@ -13,8 +13,7 @@ func main() {
1313 os .MkdirAll (skinCacheDir , os .ModePerm )
1414 os .MkdirAll (renderDir , os .ModePerm )
1515 cleanupCache ()
16+ go startCleanupRoutine ()
1617 initRedis ()
1718 initHttp ()
18-
19- go startCleanupRoutine ()
2019}
You can’t perform that action at this time.
0 commit comments