Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

CDN

Deep under the waves and storms there lies a vault...

Raft icon

Illustration above by @maxwofford.


CDN powers the #cdn channel in the Hack Club Slack.

Version 2 Version 2

Post this JSON...

[
  "website.com/somefile.png",
  "website.com/somefile.gif",
]

And it'll return the following:

{
  "0somefile.png": "cdnlink.vercel.app/0somefile.png",
  "1somefile.gif": "cdnlink.vercel.app/1somefile.gif"
}

Version 1 Version 1

Post this JSON...

[
  "website.com/somefile.png",
  "website.com/somefile.gif",
]

And it'll return the following:

[
  "cdnlink.vercel.app/0somefile.png",
  "cdnlink.vercel.app/1somefile.gif"
]