Skip to content

Commit

Permalink
Possible fix for occasional error 413 when saving drawing + Remove so…
Browse files Browse the repository at this point in the history
…me console.logs
  • Loading branch information
gevalo1 committed Dec 11, 2016
1 parent bae751f commit a5ebe9b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ server.listen(8085, () => {
// uncomment after placing your favicon in /public
//app.use(favicon(path.join(__dirname, 'public', 'favicon.ico')));
app.use(logger('dev'));
app.use(bodyParser.json());
app.use(bodyParser.json({limit: '10mb'}));
app.use(bodyParser.urlencoded({extended: false}));
app.use(cookieParser());
//app.use(express.static(path.join(__dirname, 'public')));
Expand Down
8 changes: 4 additions & 4 deletions client/app/config/app.templates.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions client/app/services/drawing.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ export default class Drawing {
}).then(
(res) => {
return res;
},
(err) => {
console.log(err);
}
);
}
Expand All @@ -47,9 +44,6 @@ export default class Drawing {
}).then(
(res) => {
return res;
},
(err) => {
console.log(err);
}
);
}
Expand Down

0 comments on commit a5ebe9b

Please sign in to comment.