Last active
July 28, 2022 20:17
-
-
Save MrCrypticxDev/e848bda6b6b82e76206bf822212e8a5a to your computer and use it in GitHub Desktop.
Cloudflare workers snippet for custom image url shortners. You can use this with ShareX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "14.1.0", | |
"Name": "Cloudflare Worker", | |
"DestinationType": "URLShortener", | |
"RequestMethod": "POST", | |
"RequestURL": "https://YOUR_SUBDOMAIN_HERE.workers.dev/", | |
"Body": "JSON", | |
"Data": "{\n \"url\": \"{input}\"\n}", | |
"URL": "{response}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment