Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
jinhu.tung
9 years ago
Commit
36f95f5dd066b70489b24a9ae99fca6d37e8364a
1 parent
ffd523cb
add multer
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
app.js
app.js
View file @
36f95f5
...
...
@@ -20,6 +20,7 @@ const favicon = require('serve-favicon');
const
session
=
require
(
'express-session'
);
const
memcached
=
require
(
'connect-memcached'
);
const
hbs
=
require
(
'express-handlebars'
);
const
multer
=
require
(
'connect-multiparty'
);
const
pkg
=
require
(
'./package.json'
);
const
yohoLib
=
require
(
'yoho-node-lib'
);
...
...
@@ -52,6 +53,7 @@ app.use(express.static(path.join(__dirname, 'public')));
app
.
use
(
bodyParser
.
json
());
app
.
use
(
bodyParser
.
urlencoded
({
extended
:
false
}));
app
.
use
(
cookieParser
());
app
.
use
(
multer
());
app
.
use
(
session
({
proxy
:
true
,
...
...
Please
register
or
login
to post a comment