mirror of
https://github.com/rikkaneko/paste.git
synced 2025-08-07 06:25:33 +01:00
Fix typo
Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
This commit is contained in:
parent
4542a4f519
commit
203a9e4982
3 changed files with 5 additions and 5 deletions
|
@ -242,8 +242,8 @@
|
|||
<td class="text-center col-6" id="paste_info_password">-</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-center col-3 text-nowrap">Account Times</td>
|
||||
<td class="text-center col-6"><span id="paste_info_access_n">-</span> / <span id="paste_info_access_max_access_n">-</span></td>
|
||||
<td class="text-center col-3 text-nowrap">Access Times</td>
|
||||
<td class="text-center col-6"><span id="paste_info_access_n">-</span> / <span id="paste_info_access_max_access_n">99999</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-center col-3 text-nowrap">Created</td>
|
||||
|
|
|
@ -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,
|
||||
})
|
||||
);
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue