mirror of
https://github.com/System-End/cdn.git
synced 2026-04-19 18:35:12 +00:00
Add version differences to README
This commit is contained in:
parent
8785ab0ebc
commit
01425f92ae
1 changed files with 44 additions and 0 deletions
44
README.md
44
README.md
|
|
@ -2,3 +2,47 @@
|
|||
<p align="center"><i>Deep under the waves and storms there lies a <a href="https://app.slack.com/client/T0266FRGM/C016DEDUL87">vault</a>...</i></p>
|
||||
<p align="center"><img alt="Raft icon" src="http://cloud-pxma0a3yi.vercel.app/underwater.png"></p>
|
||||
<p align="center">Illustration above by <a href="https://gh.maxwofford.com">@maxwofford</a>.</p>
|
||||
|
||||
---
|
||||
|
||||
CDN powers the [#cdn](https://app.slack.com/client/T0266FRGM/C016DEDUL87) channel in the [Hack Club Slack](https://hackclub.com/slack).
|
||||
|
||||
## Version 2
|
||||
|
||||
<img alt="Version 2" src="https://cloud-6gklvd3ci.vercel.app/1v2.png" align="right" width="130">
|
||||
|
||||
Post this JSON...
|
||||
```js
|
||||
[
|
||||
"website.com/somefile.png",
|
||||
"website.com/somefile.gif",
|
||||
]
|
||||
```
|
||||
|
||||
And it'll return the following:
|
||||
```js
|
||||
{
|
||||
"0somefile.png": "cdnlink.vercel.app/0somefile.png",
|
||||
"1somefile.gif": "cdnlink.vercel.app/1somefile.gif"
|
||||
}
|
||||
```
|
||||
|
||||
## Version 1
|
||||
|
||||
<img alt="Version 1" src="https://cloud-6gklvd3ci.vercel.app/0v1.png" align="right" width="130">
|
||||
|
||||
Post this JSON...
|
||||
```js
|
||||
[
|
||||
"website.com/somefile.png",
|
||||
"website.com/somefile.gif",
|
||||
]
|
||||
```
|
||||
|
||||
And it'll return the following:
|
||||
```js
|
||||
[
|
||||
"cdnlink.vercel.app/0somefile.png",
|
||||
"cdnlink.vercel.app/1somefile.gif"
|
||||
]
|
||||
```
|
||||
Loading…
Add table
Reference in a new issue