Skip to content

Commit

Permalink
upload files to media
Browse files Browse the repository at this point in the history
  • Loading branch information
pokutnik committed Mar 30, 2013
1 parent 6a619b1 commit c1b67c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api_srv/app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ app.configure ->
app.set 'view engine', 'jade'
app.use express.static(path.join(__dirname, 'public'))
app.use express.logger('dev')
app.use express.bodyParser()
app.use express.bodyParser({uploadDir: path.join(__dirname, 'public/media' })
app.use express.methodOverride()
app.use express.cookieParser('secret')
app.use express.session()
Expand Down
Empty file added api_srv/public/media/.gitignore
Empty file.

0 comments on commit c1b67c2

Please sign in to comment.