From 203a9e4982850b882101ee3be78478e807b39562 Mon Sep 17 00:00:00 2001 From: Joe Ma Date: Fri, 1 Aug 2025 15:06:51 +0800 Subject: [PATCH] Fix typo Signed-off-by: Joe Ma --- frontend/paste.html | 4 ++-- src/index.ts | 4 ++-- wrangler.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/paste.html b/frontend/paste.html index 6e03265..a785860 100644 --- a/frontend/paste.html +++ b/frontend/paste.html @@ -242,8 +242,8 @@ - - Account Times - - / - + Access Times + - / 99999 Created diff --git a/src/index.ts b/src/index.ts index 4fb9acc..b05ef72 100644 --- a/src/index.ts +++ b/src/index.ts @@ -359,7 +359,7 @@ router.get('/:uuid/:option?', async (request, env, ctx) => { descriptor.access_n++; ctx.waitUntil( env.PASTE_INDEX.put(uuid, JSON.stringify(descriptor), { - expiration: descriptor.expired_at / 1000, + expirationTtl: descriptor.expired_at / 1000, }) ); @@ -383,7 +383,7 @@ router.get('/:uuid/:option?', async (request, env, ctx) => { ctx.waitUntil( env.PASTE_INDEX.put(uuid, JSON.stringify(descriptor), { - expiration: descriptor.expired_at / 1000, + expirationTtl: descriptor.expired_at / 1000, }) ); diff --git a/wrangler.toml b/wrangler.toml index 18a456d..b058226 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -10,7 +10,7 @@ services = [ ] [vars] -SERVICE_URL = "pb.nekoid.cc" +SERVICE_URL = "https://pb.nekoid.cc" PASTE_WEB_URL = "https://raw.githubusercontent.com/rikkaneko/paste/main/frontend" CORS_DOMAIN = "nekoid.cc"