Skip to content

Commit 5d241de

Browse files
committed
[DEV] Update WebP dependency and fix docker cache paths
1 parent 1f5106c commit 5d241de

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module main
33
go 1.23.0
44

55
require (
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

1314
require (
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

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
22
github.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=
55
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78=
66
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc=
77
github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=

main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)