diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-10 07:02:47 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-10 07:02:47 +0100 |
| commit | 9e6b80c0321ba1fbe1c824083acbeeac7b7b94d4 (patch) | |
| tree | 67cd6d247cd1bc15c43ebad10e2f02249217e8ca /bucky/app/index.js | |
| parent | a932b664db987f2cf9ceefe9bb56e43793470d5e (diff) | |
post form and other stuff
Diffstat (limited to 'bucky/app/index.js')
| -rw-r--r-- | bucky/app/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bucky/app/index.js b/bucky/app/index.js index 1231914..b88471c 100644 --- a/bucky/app/index.js +++ b/bucky/app/index.js @@ -30,7 +30,7 @@ site.init = function(){ app.use(favicon(__dirname + '../../../public/favicon.ico')) app.use(bodyParser.json()) app.use(bodyParser.urlencoded({ extended: false })) - app.use( multer({ dest:'./uploads/' }).single("file") ) + app.use( multer({ dest:'./uploads/' }).multiple("files") ) app.use(session({ key: 'bucky.sid', |
