Skip to content

Commit

Permalink
Merge branch 'release/2.0.24'
Browse files Browse the repository at this point in the history
  • Loading branch information
claytonsilva committed Mar 20, 2017
2 parents e679bfb + 6c0e147 commit 99e0881
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class Application {
res.header('Access-Control-Allow-Origin', process.env.CORSALLOWED || '*')
res.header('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE,OPTIONS,PATCH')
res.header('Access-Control-Allow-Headers', 'Origin, X-Requested-With, Content-Type,' +
' Accept, Authorization, If-Modified-Since, Cache-Control, Pragma')
' Accept, Authorization, If-Modified-Since, Cache-Control, enctype, Pragma')
if ('OPTIONS' === req.method) {
return res.send(200)
} else {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "js-data-dao",
"main": "lib/index.js",
"typings": "lib/index.ts",
"version": "2.0.23",
"version": "2.0.24",
"description": "js-data-dao",
"license": "MIT",
"repository": "https://github.com/xdevelsistemas/js-data-dao",
Expand Down

0 comments on commit 99e0881

Please sign in to comment.