Toggle navigation
Toggle navigation
This project
Loading...
Sign in
설승환
/
tp_maple_website
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
설승환
2020-06-02 21:40:03 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d06bf532c72ebd15e763b2b7b9be9ca1f413e193
d06bf532
1 parent
1f633683
자바스크립트 파일 추가
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
app.js
app.js
0 → 100644
View file @
d06bf53
var
http
=
require
(
'http'
);
var
fs
=
require
(
'fs'
);
var
app
=
http
.
createServer
(
function
(
request
,
response
){
var
url
=
request
.
url
;
if
(
request
.
url
==
'/favicon.ico'
){
return
response
.
writeHead
(
404
);
}
response
.
writeHead
(
200
);
response
.
end
(
fs
.
readFileSync
(
__dirname
+
url
));
});
app
.
listen
(
3000
);
\ No newline at end of file
Please
register
or
login
to post a comment