Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김기빈
/
OSS_StarCraft2_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
임에딘
2018-12-11 10:32:03 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4567247ead7f966b05f3273a1377c5eed6f34111
4567247e
1 parent
7667aefa
add app.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
app.js
app.js
0 → 100644
View file @
4567247
1
+
var
http
=
require
(
'http'
);
2
+
var
fs
=
require
(
'fs'
);
3
+
http
.
createServer
(
function
(
req
,
res
)
{
4
+
fs
.
readFile
(
'index.html'
,
function
(
err
,
data
)
{
5
+
res
.
writeHead
(
200
,
{
'Content-Type'
:
'text/html'
});
6
+
res
.
write
(
data
);
7
+
res
.
end
();
8
+
});
9
+
}).
listen
(
8080
);
Please
register
or
login
to post a comment