paivana

HTTP paywall reverse proxy
Log | Files | Refs | Submodules | README | LICENSE

commit f54b8c1e0e5855eaf4250dc1437ac6e8932993dd
parent 379078c615854f8850a069dd7fee78827e376e12
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue,  4 Aug 2026 16:59:50 +0200

-typo

Diffstat:
Msrc/frontend/paywall.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/frontend/paywall.js b/src/frontend/paywall.js @@ -19,7 +19,7 @@ const website = atob(window.location.hash.substring(1)); const encTable = "0123456789ABCDEFGHJKMNPQRSTVWXYZ"; // cap at 100 years, we don't deal well with 'forever' otherwise -const usePickupDelay = Math.min(MAX_PICKUP_DELAY, 60 * 60 * 24 * 356 * 100); +const usePickupDelay = Math.min(MAX_PICKUP_DELAY, 60 * 60 * 24 * 365 * 100); // Strip trailing slash so we can append /templateId cleanly. const merchantBase = MERCHANT_BACKEND.replace(/\/$/, "");