A URL Shortener created using Cloudflare Worker
Go to Workers KV and create a namespace.
Bind an instance of a KV Namespace to access its data in a Worker.
Where Variable name should set as LINKS
and KV namespace is the namespace you just created in the first step.
Copy the index.js
code from this project to Cloudflare Worker.
Click Save and Deploy
Note: Because someone abuse this demo website, all the generated link will automatically expired after 24 hours. For long-term use, please deploy your own.
注意:所有由Demo网站生成的链接24小时后会自动失效,如需长期使用请自行搭建。