From 8d47424a82d9783617aed38c9808de3465c72a0a Mon Sep 17 00:00:00 2001 From: Bas van den Aakster Date: Fri, 12 Dec 2025 19:18:24 +0100 Subject: [PATCH] fix: Remove authSecret reference from worker config The authSecret variable was removed but still referenced in the config object, causing the worker to crash on all requests. --- src/worker.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/worker.ts b/src/worker.ts index 78d69e7..76b6761 100644 --- a/src/worker.ts +++ b/src/worker.ts @@ -32,7 +32,6 @@ export default { ? env.CORS_ORIGINS.split(',').map(o => o.trim()) : ['*'], version: env.VERSION || 'unknown', - authSecret, offerDefaultTtl: env.OFFER_DEFAULT_TTL ? parseInt(env.OFFER_DEFAULT_TTL, 10) : 60000, offerMaxTtl: env.OFFER_MAX_TTL ? parseInt(env.OFFER_MAX_TTL, 10) : 86400000, offerMinTtl: env.OFFER_MIN_TTL ? parseInt(env.OFFER_MIN_TTL, 10) : 60000,