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-12-09 22:39:33 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3701c1c3918910ee5db37fa307d22d6a6fcf2dd3
3701c1c3
1 parent
b454433c
second main.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
main.js
main.js
View file @
3701c1c
var
express
=
require
(
'express'
)
var
app
=
express
();
var
path
=
require
(
'path'
)
app
.
use
(
express
.
static
(
'public'
));
//css 파일, jpg 파일 연동 x.
var
server
=
app
.
listen
(
8080
,
function
(){
console
.
log
(
"hello"
);
...
...
@@ -14,5 +16,3 @@ 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