Skip to content

Commit 4e86a2d

Browse files
committed
fix: bump worker to v2.1.2 — add missing Symbol.iterator to URLSearchParams/Headers
1 parent 3eac7ad commit 4e86a2d

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.2
1+
2.3.3

docs/public/_worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
const filename = path.replace("/downloads/", "");
99

1010
// Only redirect for known binary patterns.
11-
if (/^hostedat(-server)?-(linux|darwin|windows)-(amd64|arm64|universal)(\.exe)?$/.test(filename)) {
11+
if (/^hostedat(-server)?(-v8)?-(linux|darwin|windows)-(amd64|arm64|universal)(\.exe)?$/.test(filename)) {
1212
if (!env.DOWNLOADS) {
1313
return new Response("Storage not configured", { status: 503 });
1414
}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.25
55
require (
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

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ github.com/caddyserver/zerossl v0.1.4/go.mod h1:CxA0acn7oEGO6//4rtrRjYgEoa4MFw/X
77
github.com/coder/websocket v1.8.14 h1:9L0p0iKiNOibykf283eHkKUHHrpG7f65OE3BhhO7v9g=
88
github.com/coder/websocket v1.8.14/go.mod h1:NX3SzP+inril6yawo5CQXx8+fk145lPDC6pumgx0mVg=
99
github.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=
1212
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
1313
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
1414
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=

0 commit comments

Comments
 (0)