File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- 2.3.2
1+ 2.3.3
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export default {
88 const filename = path . replace ( "/downloads/" , "" ) ;
99
1010 // Only redirect for known binary patterns.
11- if ( / ^ h o s t e d a t ( - s e r v e r ) ? - ( l i n u x | d a r w i n | w i n d o w s ) - ( a m d 6 4 | a r m 6 4 | u n i v e r s a l ) ( \. e x e ) ? $ / . test ( filename ) ) {
11+ if ( / ^ h o s t e d a t ( - s e r v e r ) ? ( - v 8 ) ? - ( l i n u x | d a r w i n | w i n d o w s ) - ( a m d 6 4 | a r m 6 4 | u n i v e r s a l ) ( \. e x e ) ? $ / . test ( filename ) ) {
1212 if ( ! env . DOWNLOADS ) {
1313 return new Response ( "Storage not configured" , { status : 503 } ) ;
1414 }
Original file line number Diff line number Diff line change 55require (
66 github.com/caddyserver/certmagic v0.25.1
77 github.com/coder/websocket v1.8.14
8- github.com/cryguy/worker/v2 v2.1.1
8+ github.com/cryguy/worker/v2 v2.1.2
99 github.com/glebarez/sqlite v1.11.0
1010 github.com/golang-jwt/jwt/v5 v5.3.1
1111 github.com/labstack/echo/v4 v4.15.0
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ github.com/caddyserver/zerossl v0.1.4/go.mod h1:CxA0acn7oEGO6//4rtrRjYgEoa4MFw/X
77github.com/coder/websocket v1.8.14 h1:9L0p0iKiNOibykf283eHkKUHHrpG7f65OE3BhhO7v9g =
88github.com/coder/websocket v1.8.14 /go.mod h1:NX3SzP+inril6yawo5CQXx8+fk145lPDC6pumgx0mVg =
99github.com/cpuguy83/go-md2man/v2 v2.0.6 /go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g =
10- github.com/cryguy/worker/v2 v2.1.1 h1:n0BPBRoT3Fi3UbrYK413Wzaz7xuIhEo6s4b6MluKKqI =
11- github.com/cryguy/worker/v2 v2.1.1 /go.mod h1:oLEmyg7SqruwuMuG3hxb7tRIQuD3HXrXs4VWif8wuA4 =
10+ github.com/cryguy/worker/v2 v2.1.2 h1:V8+V7pRxTIXnQM4yaRNeg5ZX9fX0mgsAkBTSt59cHr4 =
11+ github.com/cryguy/worker/v2 v2.1.2 /go.mod h1:oLEmyg7SqruwuMuG3hxb7tRIQuD3HXrXs4VWif8wuA4 =
1212github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
1313github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
1414github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY =
You can’t perform that action at this time.
0 commit comments