Toggle navigation
Toggle navigation
This project
Loading...
Sign in
유현수
/
coin_karaoke
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
유현수
2021-11-30 22:06:40 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
04c15b74e8bb6d9f80ed20fcb8ec5ac4a88f27b8
04c15b74
0 parents
add main.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
main.js
main.js
0 → 100644
View file @
04c15b7
var
express
=
require
(
'express'
)
var
app
=
express
();
var
path
=
require
(
'path'
)
var
server
=
app
.
listen
(
8080
,
function
(){
console
.
log
(
"hello"
);
})
app
.
get
(
'/'
,
function
(
req
,
res
){
return
res
.
sendFile
(
__dirname
+
'/html/coin.html'
)
});
app
.
get
(
'/map'
,
function
(
req
,
res
){
return
res
.
sendFile
(
__dirname
+
'/html/map.html'
)
});
app
.
use
(
express
.
static
(
path
.
join
(
__dirname
+
'public'
)));
//css 파일, jpg 파일 연동 x.
\ No newline at end of file
Please
register
or
login
to post a comment