Skip to content

Commit 2ebe05b

Browse files
author
Fanlia
committed
update README
1 parent 05e3135 commit 2ebe05b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
jquery-file-upload-middleware
22
=============================
33

4+
### especially for express
5+
6+
````
7+
app = express()
8+
9+
upload = require('jquery-file-upload-middleware')
10+
11+
upload.configure({
12+
uploadDir: __basename + '/public/files',
13+
uploadUrl: '/uploads',
14+
imageVersions: {
15+
thumbnail: {
16+
width: 80,
17+
height: 80
18+
}
19+
}
20+
});
21+
22+
upload.init '/upload', app
23+
````
24+
425
### Personal Patch Repository
526

627
Please comeback [Aleksandr Guidrevitch](http://aguidrevitch.blogspot.com/) lol

0 commit comments

Comments
 (0)