Generate Config/crypto.json
and Config/secrets/production.json
files
accordind to its *.exmaple
templates. Using the copied templates is enough
for development.
Build and run:
vapor build
vapor run
POST https://files.jenkins.mit.ajty.cz
curl -X POST \
https://files.jenkins.mit.ajty.cz/ \
-H 'authorization: token SECRET_TOKEN' \
-H 'cache-control: no-cache' \
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
-F file=@path_to_file \
-F extension=extension_of_file
{
"url": "https://files.jenkins.mit.ajty.cz/48F5D5BD-343C-4B09-A6BF-E62AA93C9B5B.png"
}