ccbikai / Sink

⚡ A Simple / Speedy / Secure Link Shortener with Analytics, 100% run on Cloudflare.
https://sink.cool
GNU Affero General Public License v3.0
1.42k stars 499 forks source link

Long url constraint in 2048 characters only #8

Closed DrRingo closed 1 month ago

DrRingo commented 1 month ago

I use some hacking in url, make it soooo long and use shortening app to make it shorter to remember.

Example: in smol site, all data of the webpage contain in url only

But your constaint in 2048 characters make it impossible to use this hacking

ccbikai commented 1 month ago

For better compatibility, I have limited the URL length to 2048. If you have special requirements, you can fork and modify the limitation

https://github.com/ccbikai/Sink/blob/master/schemas/link.ts#L12