UNPKG
mfk
Version:
latest (1.1.0)
1.1.0
mfk
github.com/github584898496/MyJavaCode
github584898496/MyJavaCode
mfk
/
main.js
14 lines
(9 loc)
•
228 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
var
express=
require
(
'express'
);
var
app=
express
(); app.
set
(
'port'
,
9092
); app.
get
(
'/'
,
function
(
req,res
){ res.
send
(
'Hello World!'
); }); app.
listen
(app.
get
(
'port'
),
function
(
){
console
.
log
(app.
get
(
'port'
)); });