Sink/app.config.ts
ccbikai e909922a5a chore: decrease preview link validity to 5 minutes
Reduces the preview link time-to-live from 24 hours to 5 minutes for improved security. Updates related user-facing message in the dashboard editor to reflect this change.
2025-03-12 20:10:32 +08:00

16 lines
542 B
TypeScript

export default defineAppConfig({
title: 'Sink',
email: 'sink.cool@miantiao.me',
github: 'https://github.com/ccbikai/sink',
twitter: 'https://sink.cool/kai',
telegram: 'https://sink.cool/telegram',
mastodon: 'https://sink.cool/mastodon',
blog: 'https://sink.cool/blog',
description: 'A Simple / Speedy / Secure Link Shortener with Analytics, 100% run on Cloudflare.',
image: 'https://sink.cool/banner.png',
previewTTL: 300, // 5 minutes
slugRegex: /^[a-z0-9]+(?:-[a-z0-9]+)*$/i,
reserveSlug: [
'dashboard',
],
})