Toggle navigation
Toggle navigation
This project
Loading...
Sign in
박민정
/
We-Shop
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박민정
2021-06-09 22:05:56 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
20e62fef2208d54cff45f00de968f3a3614796a1
20e62fef
1 parent
011d944f
[fix] Fix the unknown error. Reset to the previous commit ID
011d944f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
We-Shop/server/index.js
We-Shop/server/index.js
View file @
20e62fe
...
...
@@ -8,7 +8,7 @@ const cors = require('cors')
// body-parser 가져옴
const
bodyParser
=
require
(
'body-parser'
)
// bodyParser option
app
.
use
(
bodyParser
.
urlencoded
({
extended
:
true
}))
//application/x-www-form-urlencoded로 된 데이터를 분석해서 가져옴
app
.
use
(
bodyParser
.
urlencoded
({
extended
:
true
}))
//application/x-www-form-urlencoded로 된 데이터를 분석해서 가져옴
app
.
use
(
bodyParser
.
json
())
// application/json 타입으로 된 데이터를 분석해서 가져옴
const
cookieParser
=
require
(
"cookie-parser"
);
app
.
use
(
cookieParser
());
...
...
Please
register
or
login
to post a comment