Server for react-images-uploader
lein deps
lein ring server 9090
- routes - object with your routes
- servepath - serve path
- savepath - path where you want to save images
- fullpath - full path to folder with images
- fileserve - serve images path
- multiple - allows to upload a bunch of images
default: false
- rename - if false, then do not rename image
default: true
{:routes [{:servepath "/multiple"
:savepath "resources/static/multipleFiles"
:fullpath "//localhost:9090/multiple"
:fileserve "static/multipleFiles"
:multiple true
:rename true}
{:servepath "/notmultiple"
:savepath "resources/static/files"
:fullpath "//localhost:9090/notmultiple"
:fileserve "static/files"
:multiple false
:rename true}]}
Copyright © 2017 Aleksei Schurak
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.