Toggle navigation
Toggle navigation
This project
Loading...
Sign in
최은석
/
ossw-project
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
채지성
2022-05-23 13:37:18 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fbc86356178766f3b7bbf4b8eae933382ed8579b
fbc86356
1 parent
29af6147
sixth
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
server.js
server.js
View file @
fbc8635
...
...
@@ -2,11 +2,13 @@
const
express
=
require
(
'express'
);
const
app
=
express
();
const
cors
=
require
(
cors
);
const
bodyParser
=
require
(
'body-parser'
);
app
.
use
(
bodyParser
.
urlencoded
({
extended
:
true
}));
app
.
use
(
express
.
json
());
app
.
use
(
cors
({
origin
:
true
}));
app
.
listen
(
8080
,
function
()
{
console
.
log
(
'listening on 8080'
)
})
...
...
Please
register
or
login
to post a comment